Merge pull request #563 from h0tw1r3/filter-matrix #390
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "ci" | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
branches: | |
- "main" | |
workflow_dispatch: | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
jobs: | |
spec: | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby_version: | |
- '2.7' | |
- '3.2' | |
name: "spec (ruby ${{ matrix.ruby_version }})" | |
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_ci.yml@main" | |
secrets: "inherit" | |
with: | |
rake_task: "spec:coverage" | |
ruby_version: ${{ matrix.ruby_version }} |