Skip to content

Release v0.12.0

Release v0.12.0 #151

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
name: test (${{ matrix.appraisal }}, ${{ matrix.integration_framework }})
strategy:
fail-fast: false
matrix:
ruby: ["4.0"]
appraisal: ["rails_8.0", "rails_8.1"]
integration_framework: ["rspec", "minitest"]
env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.appraisal }}.gemfile
FIXTURE_KIT_INTEGRATION_FRAMEWORK: ${{ matrix.integration_framework }}
steps:
- uses: actions/checkout@v4
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests
run: bundle exec rspec
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.4"
bundler-cache: true
- name: Check appraisal lockfiles
run: ruby bin/check-appraisal-lockfiles
- name: Check Ruby syntax
run: ruby -c lib/**/*.rb