Prepare v0.0.2 #34
Workflow file for this run
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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| name: Lint | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.4 | |
| bundler-cache: true | |
| - name: Run RuboCop | |
| run: bundle exec rake rubocop | |
| steep: | |
| runs-on: ubuntu-latest | |
| name: Type check | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.4 | |
| bundler-cache: true | |
| - name: Run Steep | |
| run: bundle exec steep check | |
| docs: | |
| runs-on: ubuntu-latest | |
| name: Documentation coverage | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.4 | |
| bundler-cache: true | |
| - name: Verify YARD coverage | |
| run: bundle exec rake yard_coverage | |
| coverage: | |
| runs-on: ubuntu-latest | |
| name: Test coverage | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.4 | |
| bundler-cache: true | |
| - name: Verify test coverage | |
| run: bundle exec rake test | |
| env: | |
| COVERAGE: "true" | |
| build: | |
| runs-on: ubuntu-latest | |
| name: Ruby ${{ matrix.ruby }} | |
| strategy: | |
| matrix: | |
| ruby: | |
| - 3.2.0 | |
| - 3.2.1 | |
| - 3.2.2 | |
| - 3.2.3 | |
| - 3.2.4 | |
| - 3.2.5 | |
| - 3.2.6 | |
| - 3.2.7 | |
| - 3.2.8 | |
| - 3.2.9 | |
| - 3.2.10 | |
| - 3.2.11 | |
| - 3.3.0 | |
| - 3.3.1 | |
| - 3.3.2 | |
| - 3.3.3 | |
| - 3.3.4 | |
| - 3.3.5 | |
| - 3.3.6 | |
| - 3.3.7 | |
| - 3.3.8 | |
| - 3.3.9 | |
| - 3.3.10 | |
| - 3.3.11 | |
| - 3.4.0 | |
| - 3.4.1 | |
| - 3.4.2 | |
| - 3.4.3 | |
| - 3.4.4 | |
| - 3.4.5 | |
| - 3.4.6 | |
| - 3.4.7 | |
| - 3.4.8 | |
| - 3.4.9 | |
| - 4.0.0 | |
| - 4.0.1 | |
| - 4.0.2 | |
| - 4.0.3 | |
| - 4.0.4 | |
| - 4.0.5 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| bundler-cache: true | |
| - name: Run tests | |
| run: bundle exec rake test |