Skip to content

Bump step-security/harden-runner from 2.22.1 to 2.22.3 #247

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

Bump step-security/harden-runner from 2.22.1 to 2.22.3 #247

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
ruby-versions:
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
with:
min_version: 2.5
build:
needs: ruby-versions
name: build (${{ matrix.ruby }} / ${{ matrix.os }})
strategy:
fail-fast: false
matrix:
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
os: [ ubuntu-latest, macos-latest, windows-latest ]
exclude:
- { os: macos-latest, ruby: '2.5' }
- { os: windows-latest, ruby: 'truffleruby' }
- { os: windows-latest, ruby: 'truffleruby-head' }
include:
- { os: macos-15-intel, ruby: '2.5' }
- { os: macos-15-intel, ruby: '3.4' }
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Ruby
uses: ruby/setup-ruby@de492cf36cbab201753d720ce4f4e336cd688c94 # v1.336.0
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: bundle install
- name: Run test
run: rake compile test