Build(deps-dev): Bump the rubocop group with 1 update #95
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: Checks | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
timeout-minutes: 10 | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby-version: | |
- "3.1" | |
- "3.2" | |
rails-version: | |
- "~> 7.0.0" | |
- "~> 7.1.0" | |
addressable-version: | |
- "~> 2.4.0" | |
- "~> 2.5.0" | |
- "~> 2.6.0" | |
- "~> 2.7.0" | |
- "~> 2.8.0" | |
runs-on: ubuntu-latest | |
env: | |
# Ignore `Gemfile.lock` on CI. | |
BUNDLE_GEMFILE: ${{ github.workspace }}/Gemfile.ci | |
RAILS_VERSION: ${{ matrix.rails-version }} | |
ADDRESSABLE_VERSION: ${{ matrix.addressable-version }} | |
name: >- | |
Test -- | |
Ruby ${{ matrix.ruby-version }} && | |
Rails ${{ matrix.rails-version }} && | |
Addressable ${{ matrix.addressable-version }} | |
steps: | |
- uses: actions/checkout@v4 | |
# https://github.com/ruby/setup-ruby | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
bundler-cache: true | |
- name: RSpec | |
run: bundle exec rake spec | |
timeout-minutes: 5 | |
lint: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
name: Lint | |
steps: | |
- uses: actions/checkout@v4 | |
# https://github.com/ruby/setup-ruby | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ruby | |
bundler-cache: true | |
- name: RuboCop | |
run: bundle exec rake rubocop | |
timeout-minutes: 5 | |
typecheck: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
name: Typecheck | |
steps: | |
- uses: actions/checkout@v4 | |
# https://github.com/ruby/setup-ruby | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ruby | |
bundler-cache: true | |
- name: Run typecheck | |
run: | | |
bundle exec rake steep:prepare | |
bundle exec rake steep:check | |
timeout-minutes: 5 | |
documentation-check: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
name: Documentation syntax check | |
steps: | |
- uses: actions/checkout@v4 | |
# https://github.com/ruby/setup-ruby | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ruby | |
bundler-cache: true | |
- name: Check YARD docs | |
run: bundle exec rake yard:check | |
timeout-minutes: 5 |