super-linter: set VALIDATE_GITHUB_ACTIONS to true

Flag to enable the linting process of the GitHub Actions.

Another check or test we can have.

https://github.com/super-linter/super-linter?tab=readme-ov-file#configure-super-linter

Lint shell script. Tested with ShellCheck

https://www.shellcheck.net/
This commit is contained in:
John Bampton
2024-02-20 13:44:45 +10:00
parent 9bbefd3979
commit 107b6f7d30
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ jobs:
python -m pip install --upgrade pip
pip install pre-commit
- name: Set PY
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> "$GITHUB_ENV"
- uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
+2 -2
View File
@@ -33,8 +33,8 @@ jobs:
gunzip -c "$destdir/$packagename.tar.gz" | xz > "$destdir/$packagename.tar.xz"
(
cd "$destdir"
sha256sum * > .sha256
cd "$destdir" || exit
sha256sum -- * > .sha256
mv .sha256 "$packagename.sha256"
)
- name: Release
+1
View File
@@ -25,6 +25,7 @@ jobs:
VALIDATE_BASH: true
# VALIDATE_BASH_EXEC: true
# VALIDATE_EDITORCONFIG: true
VALIDATE_GITHUB_ACTIONS: true
VALIDATE_GITLEAKS: true
# VALIDATE_SHELL_SHFMT: true
DEFAULT_BRANCH: master