mirror of
https://github.com/opencontainers/runc.git
synced 2025-12-24 11:50:58 +08:00
ci: use latest Go for modernize job
Since we use modernize@latest, it may require latest Go as well (and now it does), so use "go-version: stable" explicitly (which resolves to latest Go). This fixes the issue with CI: > go: golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest: golang.org/x/tools/gopls@v0.21.0 requires go >= 1.25 (running go 1.24.11; GOTOOLCHAIN=local) Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
2
.github/workflows/validate.yml
vendored
2
.github/workflows/validate.yml
vendored
@@ -57,7 +57,7 @@ jobs:
|
||||
fetch-depth: 2
|
||||
- uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version: "${{ env.GO_VERSION }}"
|
||||
go-version: stable # modernize@latest may require latest Go.
|
||||
- name: install deps
|
||||
run: |
|
||||
sudo apt -q update
|
||||
|
||||
Reference in New Issue
Block a user