Skip to content

Update ruby/setup-ruby action to v1.344.0 #724

Update ruby/setup-ruby action to v1.344.0

Update ruby/setup-ruby action to v1.344.0 #724

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-26.04
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
ruby: ["4.0", "head"]
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
with:
egress-policy: audit
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- run: rm -f Gemfile.lock
- run: rm -f .ruby-version
- name: Set up Ruby
uses: ruby/setup-ruby@78c62f2208e480ce3d5ae4dfd9b9e181acf48b63 # v1.344.0
with:
ruby-version: ${{ matrix.ruby }}
rubygems: "4.0.24"
bundler: "4.0.24"
bundler-cache: true
- run: bundle exec rspec