This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
[Snyk] Security upgrade carrierwave from 3.0.3 to 3.0.7 #61
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
# This workflow will download a prebuilt Ruby version, install dependencies, and run linters | |
name: Rails - Install dependencies and run linters | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
run-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup Ruby and install gems | |
uses: ruby/setup-ruby@v1 | |
with: | |
# ruby-version: 2.7 # Not needed with a .ruby-version file | |
bundler-cache: true | |
# Add or Replace any other security checks here | |
- name: Run security checks | |
run: | | |
bin/bundler-audit --update | |
bin/brakeman -q -w2 | |
# Add or Replace any other Linters here | |
- name: Run linters | |
run: | | |
bin/rubocop -l --parallel |