chore(deps): bump actions/checkout from 4.1.0 to 4.1.1 #182
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@5cfe23c062c0aac352e765b1b7cc12ea5255ccc4 | |
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@5cfe23c062c0aac352e765b1b7cc12ea5255ccc4 | |
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@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 | |
with: | |
python-version: "3.10" | |
- name: Run pre-commit | |
uses: pre-commit/action@37faf8a587e18fa3a3f78f600c9edbfd0691c3c3 |