Skip to content

Fix linter

Fix linter #64

Workflow file for this run

name: Test & lint
on: [push, pull_request]
env:
RAILS_ENV: test
PGHOST: localhost
PGUSER: postgres
jobs:
tests:
name: Test
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
ruby: [2.7, 3.0, 3.1, 3.2, 3.3]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Install dependencies
run: bundle install --jobs 4 --retry 3
- name: Run tests
run: bin/check
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
bundler-cache: true
- name: Install dependencies
run: bundle install --jobs 4 --retry 3
- name: Run linters
run: bin/fastcheck