Skip to content

Commit 5953b76

Browse files
committed
fix(ci): checkout before setup-go for cache to work
1 parent b9d2e5a commit 5953b76

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,13 @@ jobs:
1818
platform: [ubuntu-latest, macos-latest, windows-latest]
1919
runs-on: ${{matrix.platform}}
2020
steps:
21+
- name: Check out code
22+
uses: actions/checkout@v6
23+
2124
- name: Set up Go ${{matrix.go-version}}
2225
uses: actions/setup-go@v6
2326
with:
2427
go-version: ${{matrix.go-version}}
25-
id: go
26-
27-
- name: Check out code into the Go module directory
28-
uses: actions/checkout@v6
2928

3029
- name: Test
3130
run: go run ./cmd/task test

0 commit comments

Comments
 (0)