Skip to content

Regenerate Gemfile.lock #8

Regenerate Gemfile.lock

Regenerate Gemfile.lock #8

Workflow file for this run

name: Linting
on: [push, pull_request]
jobs:
ruby_lint:
runs-on: ubuntu-latest
env:
RAILS_ENV: test
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Ruby and install gems
uses: ruby/setup-ruby@v1
with:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Security audit dependencies
run: bundle exec bundler-audit --update
- name: Lint Ruby files
run: bundle exec rubocop --parallel --format progress
erb_lint:
runs-on: ubuntu-latest
env:
RAILS_ENV: test
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Ruby and install gems
uses: ruby/setup-ruby@v1
with:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Lint ERB files
run: bundle exec erblint --lint-all