Bump ruby/setup-ruby from 1.205.0 to 1.206.0 #1604
Workflow file for this run
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: RSpec | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
schedule: | |
- cron: "0 21 * * 6" | |
permissions: | |
contents: read | |
jobs: | |
rspec: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: ["3.2", "3.3", "head"] | |
activesupport: ["7.1", "7.2", "8.0", "main"] | |
env: | |
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/activesupport_${{ matrix.activesupport }}.gemfile | |
name: Ruby ${{ matrix.ruby }} and ActiveSupport ${{ matrix.activesupport }} | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- run: rm Gemfile.lock | |
- run: rm .ruby-version | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@bfefad842bb982ff05b233bcbc1571d97a87e69f # v1.206.0 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
rubygems: latest | |
bundler: latest | |
bundler-cache: true | |
- run: bundle exec rspec | |
- run: bundle exec standardrb |