chore(deps): bump pre-commit/action from c7d159c2092cbfaab7352e2d8211ab536aa2267c to 2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd #224
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- name: Install Ruby and gems | |
uses: ruby/setup-ruby@22fdc77bf4148f810455b226c90fb81b5cbc00a7 | |
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@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- name: Install Ruby and gems | |
uses: ruby/setup-ruby@22fdc77bf4148f810455b226c90fb81b5cbc00a7 | |
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@0a5c61591373683505ea898e09a3ea4f39ef2b9c | |
with: | |
python-version: "3.10" | |
- name: Run pre-commit | |
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd |