Skip to content

Copy .ruby-version to container #488

Copy .ruby-version to container

Copy .ruby-version to container #488

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
workflow_call:
workflow_dispatch:
jobs:
audit:
name: Audit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Run bundler-audit
run: bundle exec bundle-audit check --update
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Run RuboCop
run: bundle exec rubocop
test:
name: Test
needs:
- audit
- lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Run RSpec
run: bundle exec rspec