Skip to content

Commit

Permalink
feat: add matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
9renpoto committed Jan 3, 2024
1 parent 6733c38 commit 79c8c36
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/deno.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 79c8c36

Please sign in to comment.