mirror of
https://github.com/opencontainers/runc.git
synced 2025-04-18 19:44:09 +03:00
ci: add check for toolchain in go.mod
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
parent
7483452016
commit
c899193643
2
.github/workflows/validate.yml
vendored
2
.github/workflows/validate.yml
vendored
@ -144,6 +144,8 @@ jobs:
|
||||
check-latest: true
|
||||
- name: verify deps
|
||||
run: make verify-dependencies
|
||||
- name: no toolchain in go.mod # See https://github.com/opencontainers/runc/pull/4717, https://github.com/dependabot/dependabot-core/issues/11933.
|
||||
run: if grep -q '^toolchain ' go.mod; then echo "Error: go.mod must not have toolchain directive, please fix"; exit 1; fi
|
||||
|
||||
|
||||
commit:
|
||||
|
Loading…
x
Reference in New Issue
Block a user