mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
gha: disable setup-go cache for golangci job
Since commite3cf217cf1actions/setup-go@v4 uses caching implicitly, and olangci/golangci-lint-action also uses caching. These two caches clash, resulting in multiple warnings in CI logs. The official golangci-lint-action solution is to disable caching for setup-go job (see [1]). Do the same. [1] https://github.com/golangci/golangci-lint-action/pull/704 Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> (cherry picked from commit62cc13ea1a) Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
@@ -27,6 +27,7 @@ jobs:
|
||||
- uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: "${{ env.GO_VERSION }}"
|
||||
cache: false # golangci-lint-action does its own caching
|
||||
- name: install deps
|
||||
run: |
|
||||
sudo apt -q update
|
||||
|
||||
Reference in New Issue
Block a user