Skip to content

Commit 578f95e

Browse files
committed
Make caching work
For it to work, the checkout needs to happen first
1 parent c148545 commit 578f95e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/go.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ jobs:
1414
CGO_ENABLED: 0
1515
steps:
1616

17+
- name: Check out code into the Go module directory
18+
uses: actions/checkout@v4
19+
1720
- name: Set up Go
18-
uses: actions/setup-go@v4
21+
uses: actions/setup-go@v5
1922
with:
2023
go-version: stable
2124
id: go
2225

23-
- name: Check out code into the Go module directory
24-
uses: actions/checkout@v4
25-
2626
- name: go mod download
2727
run: |
2828
go mod download

0 commit comments

Comments
 (0)