Skip to content

Commit e35996e

Browse files
authored
fix: install Go first (#10)
1 parent 03ac5a3 commit e35996e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ jobs:
3030
- name: Checkout
3131
uses: actions/checkout@v3
3232

33+
# Install Go!
34+
- uses: actions/setup-go@v3
35+
with:
36+
go-version: "~1.21"
37+
3338
- name: Echo Go Cache Paths
3439
id: go-cache-paths
3540
run: |
@@ -42,10 +47,5 @@ jobs:
4247
path: ${{ steps.go-cache-paths.outputs.GOCACHE }}
4348
key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.**', '**.go') }}
4449

45-
# Install Go!
46-
- uses: actions/setup-go@v3
47-
with:
48-
go-version: "~1.21"
49-
5050
- name: Test
5151
run: go test ./...

0 commit comments

Comments
 (0)