Skip to content

Pin GitHub Actions to commit SHAs (#600) #527

Pin GitHub Actions to commit SHAs (#600)

Pin GitHub Actions to commit SHAs (#600) #527

Workflow file for this run

name: Build + Test
on: [pull_request, push]
permissions:
contents: read
jobs:
build:
name: Build + Test
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [ '2.7', '3.0', '3.1', '3.2', '3.4', '4.0' ]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b #v1.269.0 tag
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Build and test with Rake
run: |
bundle exec rubocop
bundle exec rspec spec