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 commit e3cf217cf1 actions/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>
This commit is contained in:
@@ -32,6 +32,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