Skip to content

Merge pull request #989 from evemonk/dependabot/github_actions/ruby/s… #1071

Merge pull request #989 from evemonk/dependabot/github_actions/ruby/s…

Merge pull request #989 from evemonk/dependabot/github_actions/ruby/s… #1071

Workflow file for this run

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.1", "3.2", "3.3", "head"]
activesupport: ["6.1", "7.0", "7.1", "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@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1
with:
egress-policy: audit
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- run: rm Gemfile.lock
- run: rm .ruby-version
- name: Set up Ruby
uses: ruby/setup-ruby@943103cae7d3f1bb1e4951d5fcc7928b40e4b742 # v1.177.1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rspec
- run: bundle exec standardrb
- run: bundle exec fasterer