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 ./...