Skip to content

Bump step-security/harden-runner from 2.22.1 to 2.22.2 #661

Bump step-security/harden-runner from 2.22.1 to 2.22.2

Bump step-security/harden-runner from 2.22.1 to 2.22.2 #661

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@dc2769abcc0fcfbadfc1df54081c1608579ef6b2 # v2.22.2
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@651ff0d62c5c79bed6d53ec518387aae20e72c1a # v1.329.0
with:
ruby-version: ${{ matrix.ruby }}
rubygems: latest
bundler: latest
bundler-cache: true
- run: bundle exec rspec