diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 79d4338..ef761d8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,6 +13,20 @@ on: - cron: "0 0 * * 0" jobs: + filter: + name: Check if tests should be run + runs-on: ubuntu-latest + outputs: + should-run: ${{ steps.filter.should_skip }} + + steps: + - uses: actions/checkout@v4 + - uses: fkirc/skip-duplicate-actions@v5.3.1 + id: filter + with: + # Only run when code used by the action changed. + paths: '["dist/**", ".github/nimskull-problem-matcher.json"]' + check: strategy: matrix: