Skip to content

chore: bump to v1.2.0 (#25) #52

chore: bump to v1.2.0 (#25)

chore: bump to v1.2.0 (#25) #52

Workflow file for this run

name: "CI"
on:
pull_request:
push:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: read
checks: write
env:
RAILS_ENV: test
strategy:
fail-fast: true
matrix:
ruby: ["2.7", "3.0", "3.1", "3.2"]
steps:
- name: Checkout code
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
- name: Install Ruby and gems
uses: ruby/setup-ruby@8a45918450651f5e4784b6031db26f4b9f76b251
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}
- name: Run RSpec Tests
timeout-minutes: 20
run: bundle exec rspec -f doc
lint:
runs-on: ubuntu-latest
timeout-minutes: 20
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
- name: Install Ruby and gems
uses: ruby/setup-ruby@8a45918450651f5e4784b6031db26f4b9f76b251
with:
bundler-cache: true
ruby-version: "3.1"
- name: Bundle Audit Check
run: bundle exec bundle-audit update && bundle exec bundle-audit check
- name: Setup Python
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0
with:
python-version: "3.10"
- name: Run pre-commit
uses: pre-commit/action@5f528da5c95691c4cf42ff76a4d10854b62cbb82