mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
abd6addeb2
1. Bump shfmt to v3.5.1. Release notes:
https://github.com/mvdan/sh/releases
2. Since shfmt v3.5.0, specifying -l bash (or -l bats) is no longer
necessary. Therefore, we can use shfmt to find all the files.
Add .editorconfig to ignore vendor subdirectory.
3. Use shfmt docker image, so that we don't have to install anything
explicitly. This greatly simplifies the shfmt CI job. Add
localshfmt target so developers can still use a local shfmt binary
when necessary.
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
(cherry picked from commit 56edc41ca6)
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
9 lines
179 B
INI
9 lines
179 B
INI
# This file is used by shfmt. See https://EditorConfig.org
|
|
|
|
# This is a top-most EditorConfig file.
|
|
root = true
|
|
|
|
# Ignore the entire "vendor" directory.
|
|
[vendor/**]
|
|
ignore = true
|