Skip to content

Merge pull request #967 from evemonk/dependabot/github_actions/step-s… #1024

Merge pull request #967 from evemonk/dependabot/github_actions/step-s…

Merge pull request #967 from evemonk/dependabot/github_actions/step-s… #1024

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@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- run: rm Gemfile.lock
- run: rm .ruby-version
- name: Set up Ruby
uses: ruby/setup-ruby@1198b074305f9356bd56dd4b311757cc0dab2f1c # v1.175.1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rspec
- run: bundle exec standardrb
- run: bundle exec fasterer