Skip to content

Commit

Permalink
fix: install Go first (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
sreya authored Feb 13, 2024
1 parent 03ac5a3 commit e35996e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

# Install Go!
- uses: actions/setup-go@v3
with:
go-version: "~1.21"

- name: Echo Go Cache Paths
id: go-cache-paths
run: |
Expand All @@ -42,10 +47,5 @@ jobs:
path: ${{ steps.go-cache-paths.outputs.GOCACHE }}
key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.**', '**.go') }}

# Install Go!
- uses: actions/setup-go@v3
with:
go-version: "~1.21"

- name: Test
run: go test ./...

0 comments on commit e35996e

Please sign in to comment.