Merge pull request #14 from nfe/docs/readme-agent-skill #14
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: [master, next] | |
| pull_request: | |
| branches: [master, next] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Ruby ${{ matrix.ruby }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ruby: ["3.2", "3.3", "3.4"] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Ruby ${{ matrix.ruby }} | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| bundler-cache: true | |
| - name: RSpec (fails if coverage < 80%) | |
| run: bundle exec rspec | |
| - name: RuboCop | |
| run: bundle exec rubocop | |
| - name: RBS validate | |
| run: bundle exec rbs validate | |
| - name: Steep type-check | |
| run: bundle exec steep check | |
| - name: OpenAPI generated code is in sync | |
| run: bundle exec rake generate:check |