Split continuous workflow in three jobs.

Doing all steps sequentially is starting to get long. Several of those checks are unrelated and can be done in parallel.
This commit is contained in:
KtorZ
2024-07-16 17:41:14 +02:00
parent 0145237bbe
commit fe7d744946
4 changed files with 20 additions and 16 deletions

View File

@@ -15,7 +15,7 @@ WORKDIR="$(dirname -- "${BASH_SOURCE[0]}")"
TARGET="$WORKDIR/$(basename $1)"
TMP=$(mktemp)
RESULT=$(cargo run --quiet -- fmt $TARGET 2>$TMP)
RESULT=$(cargo run -r --quiet -- fmt $TARGET 2>$TMP)
if [ "$?" -eq "0" ]; then
echo "✅ $(basename $TARGET)"