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:
yuki0920 2023-06-03 21:33:54 +09:00
parent 5f1fec7010
commit 393a14f17b
No known key found for this signature in database
GPG key ID: A966B18D704E3E28

View file

@ -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: