diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 28a546128..1c49f4dd4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -31,7 +31,6 @@ defaults: run: shell: bash jobs: - lint: name: Linters runs-on: ubuntu-20.04 @@ -66,9 +65,16 @@ jobs: uses: actions/checkout@v3 - name: Setup go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: + # when the files to be extracted are already present, + # tar extraction in Golangci Lint fails with the "File exists" + # errors. These files appear to be present because of + # cache in setup-go, on disabling the cache we are no more seeing + # such error. Cache is to be enabled once the fix is available for + # this issue. go-version: ${{ env.GO_VERSION }} + cache: false - name: GolangCI Lint uses: golangci/golangci-lint-action@v3 @@ -83,7 +89,7 @@ jobs: uses: actions/checkout@v3 - name: Setup go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: ${{ env.GO_VERSION }} @@ -189,7 +195,7 @@ jobs: uses: actions/checkout@v3 - name: Setup go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: ${{ env.GO_VERSION }} @@ -228,7 +234,7 @@ jobs: uses: actions/checkout@v3 - name: Setup go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: ${{ env.GO_VERSION }} @@ -342,7 +348,7 @@ jobs: uses: actions/checkout@v3 - name: Setup go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: ${{ env.GO_VERSION }}