Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test-extensions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
cache: false
-
name: Install shfmt
run: GO111MODULE=on go install mvdan.cc/sh/v3/cmd/shfmt@v3.13.0
run: GO111MODULE=on go install mvdan.cc/sh/v3/cmd/shfmt@v3.13.1
-
name: Checkout
uses: actions/checkout@v6
Expand Down
2 changes: 1 addition & 1 deletion scripts/invoke-shfmt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -o nounset

. ./scripts/common

# See https://github.com/mvdan/sh/blob/v3.13.0/cmd/shfmt/shfmt.1.scd#options
# See https://github.com/mvdan/sh/blob/v3.13.1/cmd/shfmt/shfmt.1.scd#options
# -s Simplify the code
# -ln posix Language variant: POSIX
# -i 0 Use TAB to indent
Expand Down
2 changes: 1 addition & 1 deletion scripts/lint
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ echo '# Linting shell scripts'
if ! docker --version >/dev/null 2>/dev/null; then
echo 'Docker is not installed, or it is not running.' >&2
rc=1
elif ! docker run --rm -v "$SRC_DIR:/src" -w /src --entrypoint /src/scripts/invoke-shfmt mvdan/shfmt:v3.13.0-alpine fix; then
elif ! docker run --rm -v "$SRC_DIR:/src" -w /src --entrypoint /src/scripts/invoke-shfmt mvdan/shfmt:v3.13.1-alpine fix; then
echo 'ERROR!' >&2
rc=1
fi
Expand Down
2 changes: 1 addition & 1 deletion scripts/lint.bat
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if errorlevel 1 (
echo Docker is not installed, or it's not running >&2
set rc=1
) else (
docker run --rm -v "%SRC_DIR%:/src" -w /src --entrypoint /src/scripts/invoke-shfmt mvdan/shfmt:v3.13.0-alpine fix
docker run --rm -v "%SRC_DIR%:/src" -w /src --entrypoint /src/scripts/invoke-shfmt mvdan/shfmt:v3.13.1-alpine fix
if errorlevel 1 (
echo ERROR! >&2
set rc=1
Expand Down