Skip to content

build(deps): bump ruby/setup-ruby from 1.175.1 to 1.176.0 (#79) #163

build(deps): bump ruby/setup-ruby from 1.175.1 to 1.176.0 (#79)

build(deps): bump ruby/setup-ruby from 1.175.1 to 1.176.0 (#79) #163

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
CRONTOGO_ORGANIZATION_ID: "fake-crontogo-organization-id"
CRONTOGO_API_KEY: "fake-crontogo-api-key"
strategy:
fail-fast: true
matrix:
ruby: ["3.0", "3.1", "3.2"]
steps:
- name: Checkout code
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
- name: Install Ruby and gems
uses: ruby/setup-ruby@cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49
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@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b
- name: Install Ruby and gems
uses: ruby/setup-ruby@cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49
with:
bundler-cache: true
ruby-version: "3.2"
- name: Bundle Audit Check
run: bundle exec bundle-audit update && bundle exec bundle-audit check
- name: Setup Python
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d
with:
python-version: "3.10"
- name: Run pre-commit
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd