Skip to content

Bump step-security/harden-runner from 2.11.1 to 2.13.1 #117

Bump step-security/harden-runner from 2.11.1 to 2.13.1

Bump step-security/harden-runner from 2.11.1 to 2.13.1 #117

Workflow file for this run

name: RSpec on JRuby
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: "0 21 * * 6"
env:
JRUBY_OPTS: "--debug"
permissions:
contents: read
jobs:
rspec:
runs-on: ubuntu-24.04
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
ruby: ["jruby-9.4", "jruby-head"]
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- run: rm -f Gemfile.lock
- run: rm -f .ruby-version
- name: Set up Ruby
uses: ruby/setup-ruby@d8d83c3960843afb664e821fed6be52f37da5267 # v1.231.0
with:
ruby-version: ${{ matrix.ruby }}
rubygems: latest
bundler: latest
bundler-cache: true
- run: bundle exec rspec