mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2025-12-16 23:48:27 +00:00
fix: README.md actions/checkout@v3 order
If `actions/setup-go@` is before `actions/checkout@v3` and go-version-file is specified in `actions/setup-go`, the go.mod file is not found because checkout is not done yet like this. So it would be easier to understand if `actions/checkout@v3` is before `actions/setup-go@`.
This commit is contained in:
parent
5f1fec7010
commit
393a14f17b
1 changed files with 1 additions and 1 deletions
|
|
@ -38,11 +38,11 @@ jobs:
|
|||
name: lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '1.17'
|
||||
cache: false
|
||||
- uses: actions/checkout@v3
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v3
|
||||
with:
|
||||
|
|
|
|||
Loading…
Reference in a new issue