Modified: CHANGELOG.md #4
This file contains hidden or 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: Continuous Integration | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: main | |
| pull_request: | |
| branches: main | |
| # OIDC permissions for qlty | |
| permissions: | |
| contents: read | |
| id-token: write | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| ruby: [2.7.0, 3.0.1] | |
| gemfile: | |
| - gemfiles/jekyll_3.7.x.gemfile | |
| - gemfiles/jekyll_4.x.x.gemfile | |
| env: | |
| BUNDLE_GEMFILE: ${{ matrix.gemfile }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| bundler-cache: true | |
| bundler: 2.2.18 | |
| - name: Run tests | |
| run: bundle exec rake spec | |
| - name: Run linting | |
| run: bundle exec rake rubocop | |
| - uses: qltysh/qlty-action/coverage@v2 | |
| with: | |
| oidc: true | |
| format: simplecov | |
| files: coverage/.resultset.json |