diff --git a/.github/workflows/deno.yml b/.github/workflows/deno.yml index efcb684..9ef1f76 100644 --- a/.github/workflows/deno.yml +++ b/.github/workflows/deno.yml @@ -30,6 +30,10 @@ jobs: timeout-minutes: 5 runs-on: ubuntu-latest + strategy: + matrix: + year: [2023, 2022] + steps: - name: Setup repo uses: actions/checkout@v4 @@ -45,7 +49,7 @@ jobs: - name: Run linter run: deno lint - - run: find posts/ -name '*.md' | xargs -I file deno task lint file + - run: find posts/${{ matrix.year }} -name '*.md' | xargs -I file deno task lint file - name: Run tests run: deno test -A --coverage=coverage