Skip to content

removing bundle install from workflow #3

removing bundle install from workflow

removing bundle install from workflow #3

Workflow file for this run

name: Test & lint
on: [push, pull_request]
env:
RAILS_ENV: test
PGHOST: localhost
PGUSER: postgres
jobs:
tests:
name: Test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: ['2.7', '3.0', '3.1', '3.2', '3.3']
gemfile: ['gemfiles/rails_6_1.gemfile',
'gemfiles/rails_7_0.gemfile',
'gemfiles/rails_7_1.gemfile',
'gemfiles/rails_7_2.gemfile']
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- 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