Skip to content

Add initial ci build files #23

Add initial ci build files

Add initial ci build files #23

Workflow file for this run

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: debugging 2
run: bundle install
- name: debugging 3
run: ls ./vendor/bundle/ruby
- name: Security audit dependencies
run: bundle-audit check --update
- name: Security audit application code
run: bin/brakeman -q -w2
- name: Lint Ruby files
run: bin/rubocop --parallel