Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.

Merge pull request #381 from Homebrew/sync-shared-config #754

Merge pull request #381 from Homebrew/sync-shared-config

Merge pull request #381 from Homebrew/sync-shared-config #754

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.4", "3.3", "3.2", "3.1"]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Set up Ruby
uses: ruby/setup-ruby@32110d4e311bd8996b2a82bf2a43b714ccc91777 # v1.221.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