Skip to content

Merge pull request #147 from Homebrew/dependabot/bundler/rubocop-1.66.0 #300

Merge pull request #147 from Homebrew/dependabot/bundler/rubocop-1.66.0

Merge pull request #147 from Homebrew/dependabot/bundler/rubocop-1.66.0 #300

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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
with:
persist-credentials: false
- name: Set up Ruby
uses: ruby/setup-ruby@a6e6f86333f0a2523ece813039b8b4be04560854 # v1.190.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