Skip to content

Merge pull request #814 from Vizzuality/client/bugfix/LET-1395 #1374

Merge pull request #814 from Vizzuality/client/bugfix/LET-1395

Merge pull request #814 from Vizzuality/client/bugfix/LET-1395 #1374

name: Backend Security
on:
push:
paths:
- 'backend/**'
- '.github/workflows/backend*'
# schedule:
# - cron: "0 14 * * *"
defaults:
run:
working-directory: backend
jobs:
backend_security:
name: Security
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get -yqq install libgeos-dev
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
working-directory: backend
bundler-cache: true
cache-version: 2
- name: Run Brakeman
run: bundle exec brakeman
- name: Run Bundle Audit
run: bundle exec bundle-audit check --update