Skip to content

Commit

Permalink
.github: reorder actions/checkout and actions/setup-go steps
Browse files Browse the repository at this point in the history
Otherwise setup-go action won't work with go-version-file. Ref.
actions/setup-go#340.

Signed-off-by: Anna Shaleva <[email protected]>
  • Loading branch information
AnnaShaleva committed Feb 27, 2024
1 parent f8d33db commit 32f2edc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand Down

0 comments on commit 32f2edc

Please sign in to comment.