diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 0a8c5c4e73..33c7927a0f 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -37,6 +37,10 @@ jobs: steps: - name: Check out code uses: actions/checkout@v2 + - name: Install Go + uses: actions/setup-go@v2 + with: + go-version: 1.17.x - name: golangci-lint uses: golangci/golangci-lint-action@v2 env: diff --git a/.github/workflows/verify-generate.yml b/.github/workflows/verify-generate.yml index 4a6b93ffe9..00ea3cb9cf 100644 --- a/.github/workflows/verify-generate.yml +++ b/.github/workflows/verify-generate.yml @@ -59,6 +59,10 @@ jobs: steps: - name: Check out code uses: actions/checkout@v2 + - name: Install Go + uses: actions/setup-go@v2 + with: + go-version: 1.17.x - name: Test generate shell: bash run: make generate