Skip to content

Commit a5e5eb6

Browse files
committed
chore(ci): move checkout before setup-go, so it can find the go.mod and bump checkout v2 => v4
1 parent 853a95f commit a5e5eb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ jobs:
2828
--health-timeout 5s
2929
--health-retries 5
3030
steps:
31+
- name: Checkout code
32+
uses: actions/checkout@v4
3133
- name: Install Go
3234
uses: actions/setup-go@v5
3335
with:
3436
go-version-file: go.mod
35-
- name: Checkout code
36-
uses: actions/checkout@v2
3737
- name: Check gofmt
3838
run: |
3939
set -x

0 commit comments

Comments
 (0)