Skip to content

Bump step-security/harden-runner from 2.22.2 to 2.22.3 #617

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

Bump step-security/harden-runner from 2.22.2 to 2.22.3 #617

Workflow file for this run

name: RSpec
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch: {}
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@26e5b7d197ebf60545ee9667bcbace0be11ccaec # v1.334.0
with:
ruby-version: ${{ matrix.ruby }}
rubygems: "4.0.23"
bundler: "4.0.23"
bundler-cache: true
- run: bundle exec rspec