Skip to content

Styles

Styles #3

Workflow file for this run

name: Styles
on: [push]
jobs:
styles:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Sign overcommit
run: |
bundle exec overcommit --sign && bundle exec overcommit --sign pre-commit
- name: Run overcommit
run: |
bundle exec overcommit --run
env:
GIT_AUTHOR_NAME: John Doe
GIT_AUTHOR_EMAIL: [email protected]
- name: Setup and run brakeman
run: |
gem install brakeman
brakeman --exit-on-warn --quiet -f plain --safe-methods sanitize