diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index ac3d982..3d173df 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -14,12 +14,12 @@ jobs: steps: - name: Set up Go 1.x - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: - go-version: ^1.13 + go-version: '>=1.17' - name: Check out code into the Go module directory - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Get dependencies run: | @@ -36,4 +36,6 @@ jobs: run: ./bin/build - name: Test - run: ./bin/test + run: | + export GOPATH=$(go env GOPATH)/bin + ./bin/test