deps(patch): update dependency ruby to v4.0.3 (#69) #161
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
| --- | |
| # yaml-language-server: $schema=https://www.schemastore.org/github-workflow.json | |
| name: testing | |
| "on": | |
| workflow_dispatch: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| permissions: | |
| contents: read | |
| jobs: | |
| rubocop: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout source | |
| uses: actions/checkout@v6 | |
| - name: Setup ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 4.0.2 | |
| bundler-cache: true | |
| - name: Run rubocop | |
| run: bundle exec rubocop | |
| spec: | |
| runs-on: ubuntu-latest | |
| needs: rubocop | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ruby: | |
| - "2.7" | |
| - "3.0" | |
| - "3.1" | |
| - "3.2" | |
| - "3.3" | |
| json: | |
| - "1.6" | |
| - "1.7" | |
| - "1.8" | |
| - "2.0" | |
| - "2.1" | |
| - "2.2" | |
| - "2.3" | |
| - "2.4" | |
| - "2.5" | |
| - "2.6" | |
| - "2.7" | |
| - "2.8" | |
| - "2.9" | |
| - "2.10" | |
| - "2.11" | |
| - "2.12" | |
| - "2.13" | |
| steps: | |
| - name: Checkout source | |
| uses: actions/checkout@v6 | |
| - name: Setup ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| bundler-cache: true | |
| rubygems: latest | |
| env: | |
| JSON_VERSION: ${{ matrix.json }} | |
| - name: Run rspec | |
| run: bundle exec rspec | |
| ... |