Adjust check-workflows to exit-on-errors

This commit is contained in:
Mikhail f. Shiryaev 2022-03-21 12:09:50 +01:00
parent ac6fef5c70
commit 4309236e17
No known key found for this signature in database
GPG Key ID: 4B02ED204C7D93F4

View File

@ -1,6 +1,9 @@
#!/usr/bin/env bash
set -e
GIT_ROOT=$(git rev-parse --show-cdup)
GIT_ROOT=${GIT_ROOT:-.}
act --list --directory="$GIT_ROOT" 1>/dev/null 2>&1 || act --list --directory="$GIT_ROOT" 2>&1
actionlint
actionlint || :