Skip to content

adding in security check #4

adding in security check

adding in security check #4

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
format-python:
runs-on: ubunut-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.10.11
- name: Install Dependencies
run: pip install isort black sqlfluff flake8 security
- name: Run Continuous Integration - isort
run: isort .
- name: Run Continous Integration - black
run: black .
- name: Run Continuous Integration - sqlfluff
run: |
cd dbt_stocks
sqlfluff fix .
- name: Run Continuous Integation - flake8
run: flake8 .
- name: Run Continuous Integration - safety
uses: pyupio/safety-action@v1
with:
api-key: ${{ secrets.SAFETY_API_KEY }}