diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index e1d5d4a3c..dee7b9619 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -71,6 +71,11 @@ jobs: if: needs.detect-noop.outputs.noop != 'true' steps: + - name: Setup Go + uses: actions/setup-go@v2 + with: + go-version: ${{ env.GO_VERSION }} + - name: Checkout uses: actions/checkout@v2 with: @@ -88,7 +93,7 @@ jobs: # version, but we prefer this action because it leaves 'annotations' (i.e. # it comments on PRs to point out linter violations). - name: Lint - uses: golangci/golangci-lint-action@v2 + uses: golangci/golangci-lint-action@v3 with: version: ${{ env.GOLANGCI_VERSION }}