chore(deps): Bump the dependencies group across 1 directory with 3 updates #126
This file contains 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: Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
permissions: | |
contents: read | |
jobs: | |
test-current: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
ruby: ["3.1", "3.2", "3.3"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Set up Ruby ${{ matrix.ruby }} | |
uses: ruby/setup-ruby@7bae1d00b5db9166f4f0fc47985a3a5702cb58f0 # v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Installing dependencies | |
run: | | |
bundle check --path=vendor/bundle || bundle install --path=vendor/bundle | |
bundle exec appraisal install --path=vendor/bundle | |
- name: Run tests | |
run: bundle exec appraisal rake test | |
test-3_0: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
ruby: ["3.0"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Set up Ruby ${{ matrix.ruby }} | |
uses: ruby/setup-ruby@7bae1d00b5db9166f4f0fc47985a3a5702cb58f0 # v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Installing dependencies | |
run: | | |
bundle check --path=vendor/bundle || bundle install --path=vendor/bundle | |
bundle exec appraisal ar-6.1 bundle install --path=vendor/bundle | |
bundle exec appraisal ar-7.0 bundle install --path=vendor/bundle | |
bundle exec appraisal ar-7.1 bundle install --path=vendor/bundle | |
- name: Run tests | |
run: | | |
bundle exec appraisal ar-6.1 rake test | |
bundle exec appraisal ar-7.0 rake test | |
bundle exec appraisal ar-7.1 rake test |