From 393a14f17bec611ca8f78e589b160797f04bca47 Mon Sep 17 00:00:00 2001 From: yuki0920 Date: Sat, 3 Jun 2023 21:33:54 +0900 Subject: [PATCH] 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@`. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dc014889ef..f6efc6580b 100644 --- a/README.md +++ b/README.md @@ -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: