Bump actions/checkout from 4 to 5 (#1058) #275
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] | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| cucumber: | |
| name: "Cucumber / Ruby ${{ matrix.ruby-version }} / Rack ${{ matrix.rack }} / Faraday ${{ matrix.faraday }}" | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ruby-version: ["3.3", "3.2", "3.1", "3.0", "2.7"] | |
| faraday: ["1.0", "2.0"] | |
| rack: ["2.0", "3.0"] | |
| env: | |
| FARADAY_VERSION: ${{ matrix.faraday }} | |
| RACK_VERSION: ${{ matrix.rack }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - run: ./script/install-apt-deps.sh | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby-version }} | |
| bundler-cache: true | |
| - name: cucumber | |
| run: ./script/fail_if_warnings cucumber features/ | |
| rspec: | |
| name: "RSpec / Ruby ${{ matrix.ruby-version }} / Rack ${{ matrix.rack }} / Faraday ${{ matrix.faraday }}" | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ruby-version: ["3.3", "3.2", "3.1", "3.0", "2.7"] | |
| faraday: ["1.0", "2.0"] | |
| rack: ["2.0", "3.0"] | |
| env: | |
| FARADAY_VERSION: ${{ matrix.faraday }} | |
| RACK_VERSION: ${{ matrix.rack }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - run: ./script/install-apt-deps.sh | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby-version }} | |
| bundler-cache: true | |
| - name: rspec | |
| run: ./script/fail_if_warnings rspec spec/ | |
| doc-coverage: | |
| name: "Doc coverage" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - run: ./script/install-apt-deps.sh | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: "ruby" | |
| bundler-cache: true | |
| - name: doc coverage | |
| run: bundle exec yard stats --list-undoc | tee /dev/stdout | grep -q '100.00% documented' |