From e35996e3b500d3f7b2dcd2e200dcfffcd359f5b0 Mon Sep 17 00:00:00 2001 From: Jon Ayers Date: Tue, 13 Feb 2024 16:13:36 -0600 Subject: [PATCH] fix: install Go first (#10) --- .github/workflows/ci.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2a3746d..033c274 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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: | @@ -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 ./...