diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f33e1654..9a4093c9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,7 +30,7 @@ jobs: if: ${{ matrix.go_version == 'tip' }} run: | go install golang.org/dl/gotip@latest - ${GOPATH}/bin/gotip download + `go env GOBIN`/gotip download - name: Vet and test no tip if: ${{ matrix.go_version != 'tip' }} run: | @@ -40,9 +40,9 @@ jobs: - name: Vet and test gotip if: ${{ matrix.go_version == 'tip' }} run: | - ${GOPATH}/bin/gotip version - ${GOPATH}/bin/gotip vet ./... - ${GOPATH}/bin/gotip test ./... + `go env GOBIN`/gotip version + `go env GOBIN`/gotip vet ./... + `go env GOBIN`/gotip test ./... golangci: name: Linting runs-on: ubuntu-latest