Skip to content

Commit

Permalink
Update GHA versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Baliedge committed Oct 17, 2024
1 parent d175692 commit 1f7d3ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
cache: true # caching and restoring go modules and build outputs
Expand All @@ -29,7 +29,7 @@ jobs:
run: go mod tidy && git diff --exit-code

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v6
with:
version: ${{ env.GOLANGCI_LINT_VERSION }}
skip-cache: true # cache/restore is done by actions/setup-go@v3 step
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/on-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
pull_request:
branches: [ master ]

env:
GOLANGCI_LINT_VERSION: v1.56.2

jobs:
test:
name: test
Expand Down Expand Up @@ -40,14 +37,9 @@ jobs:
- name: Install deps
run: go mod download

- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: ${{ env.GOLANGCI_LINT_VERSION }}
skip-cache: true

- name: Test
run: go test -v -race -p=1 -count=1 -tags holster_test_mode

go-bench:
runs-on: ubuntu-latest
timeout-minutes: 30
Expand Down

0 comments on commit 1f7d3ad

Please sign in to comment.