Bump sentry-rails and sentry-ruby #878
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
# 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 |