From 7fca51f5b1f70f4f3c5d405c1b78eec19ffe4b48 Mon Sep 17 00:00:00 2001 From: AlexHaxe Date: Tue, 4 Jun 2024 20:04:29 +0200 Subject: [PATCH] only run checkstyle on non nightlies --- .github/workflows/tokentree.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/tokentree.yml b/.github/workflows/tokentree.yml index 9377f4b..a01a0e7 100644 --- a/.github/workflows/tokentree.yml +++ b/.github/workflows/tokentree.yml @@ -58,6 +58,7 @@ jobs: if: matrix.haxe-version != 'nightly' run: npx neko checkstyle/run.n -s src -s test - name: Run checkstyle with XML report + if: success() && (matrix.haxe-version != 'nightly') run: node checkstyle/run.js -s src -s test -r xml - name: Coverage report if: success() && (matrix.haxe-version != 'nightly') @@ -65,6 +66,7 @@ jobs: with: lcov: lcov.info - name: Checkstyle report + if: success() && (matrix.haxe-version != 'nightly') uses: jwgmeligmeyling/checkstyle-github-action@master with: path: '**/check-style-report.xml' \ No newline at end of file