Skip to content

Update ruby/setup-ruby action to v1.338.0 #700

Update ruby/setup-ruby action to v1.338.0

Update ruby/setup-ruby action to v1.338.0 #700

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-24.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@46b06cea07f9e64621fdf066ba77ac6915163d43 # v2.22.3
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@b3aaceaef7e0ee231b499e7b5f49c03fc1d32199 # v1.338.0
with:
ruby-version: ${{ matrix.ruby }}
rubygems: "4.0.24"
bundler: "4.0.24"
bundler-cache: true
- run: bundle exec rspec