Skip to content

Bump actions/checkout from 4.2.2 to 5.0.0 #2952

Bump actions/checkout from 4.2.2 to 5.0.0

Bump actions/checkout from 4.2.2 to 5.0.0 #2952

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
name: Ruby
on: [push, pull_request]
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
ruby: ["3.2", "3.3", "3.4"]
name: ${{ matrix.os }} ${{ matrix.ruby }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: ruby/setup-ruby@829114fc20da43a41d27359103ec7a63020954d4 # v1.255.0
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: ruby -v
- name: Run typechecking
run: bin/typecheck
- name: Check sigils
run: bundle exec exe/spoom bump --from true --to strict --dry
- run: bin/test
- name: Run style
run: bin/style
- name: Check exported RBI file
run: bin/export-rbi --check-sync