Add initial ci build files #24
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
name: "Lint" | |
on: | |
push: | |
branches: [ "*" ] | |
pull_request: | |
branches: [ "*" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/[email protected] | |
with: | |
ruby-version: '3.2.2' | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- name: debugging 0 | |
run: echo "$GITHUB_WORKSPACE/vendor/bundle/ruby/3.2.0/bin" >> $GITHUB_PATH | |
- name: debugging 1 | |
run: which bundle-audit | |
- name: Security audit dependencies | |
run: bundle-audit check --update | |
- name: Security audit application code | |
run: brakeman -q -w2 | |
- name: Lint Ruby files | |
run: rubocop --parallel |