Skip to content

Merge pull request #62 from Homebrew/dependabot/bundler/sorbet-runtim… #134

Merge pull request #62 from Homebrew/dependabot/bundler/sorbet-runtim…

Merge pull request #62 from Homebrew/dependabot/bundler/sorbet-runtim… #134

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: ["3.1", "3.0"]
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up Ruby
uses: ruby/setup-ruby@1d0e911f615a112e322369596f10ee0b95b010ae # v1.183.0
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Build gem
run: bundle exec rake
- name: Run RuboCop
run: bundle exec rake rubocop
- name: Run tests
run: bundle exec rake spec