mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
CI: add shfmt for sh files
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
@@ -122,7 +122,9 @@ validate:
|
||||
script/validate-c
|
||||
$(GO) vet $(MOD_VENDOR) ./...
|
||||
shellcheck tests/integration/*.bats
|
||||
# TODO: add shellcheck for sh files
|
||||
shfmt -ln bats -d tests/integration/*.bats
|
||||
shfmt -ln bash -d man/*.sh script/*.sh tests/*.sh tests/integration/*.bash
|
||||
|
||||
ci: validate test release
|
||||
|
||||
|
||||
Reference in New Issue
Block a user