add actionlint script

This commit is contained in:
Jörg Thalheim 2024-11-22 08:32:01 +01:00
parent 2adf409581
commit eeb87082a9

7
.github/workflows/lint-actions.sh vendored Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p bash actionlint shellcheck -I nixpkgs=../..
set -euo pipefail
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
cd "$SCRIPT_DIR/../.."
actionlint