Skip to content

Merge pull request #460 from olliebennett/dependabot/bundler/sprocket… #1002

Merge pull request #460 from olliebennett/dependabot/bundler/sprocket…

Merge pull request #460 from olliebennett/dependabot/bundler/sprocket… #1002

Workflow file for this run

# GitHub Action to run linters, based on:
# - Rails repo configuration:
# https://github.com/rails/rails/blob/master/.github/workflows/rubocop.yml
# - GitHub Actions Docs
# https://github.com/ruby/setup-ruby#usage
name: Lint
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby # https://github.com/ruby/setup-ruby#usage
uses: ruby/setup-ruby@v1 # reads version from .ruby-version file
with:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run RuboCop
run: bin/rubocop
- name: Run Ruumba (RuboCop on views)
run: bin/ruumba
- name: Run Brakeman
run: bin/brakeman
- name: Run Traceroute (detect unused actions/routes)
env:
REDIS_URL: 'redis://localhost:6379'
run: bin/traceroute