Skip to content

Commit

Permalink
perf: use modified setup go gh action and update linter action
Browse files Browse the repository at this point in the history
  • Loading branch information
kperreau committed May 6, 2024
1 parent 565aefe commit 0b0aafb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,22 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
- name: Setup Go
uses: kperreau/setup-go@v5
with:
go-version: "1.22"
cache: false
check-latest: true
cache-key-prefix: test

- name: Verify dependencies
run: |
go mod verify
git diff --exit-code
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
uses: golangci/golangci-lint-action@v5
with:
version: "v1.55.2"
version: latest
args: --timeout=10m

- name: Vet
Expand Down

0 comments on commit 0b0aafb

Please sign in to comment.