Skip to content

Merge pull request #16 from redBorder/add_training #35

Merge pull request #16 from redBorder/add_training

Merge pull request #16 from redBorder/add_training #35

Workflow file for this run

name: Security check
on:
pull_request:
branches:
- '*'
push:
branches:
- '*'
jobs:
security_check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python 3.8 and pip
run: |
sudo add-apt-repository ppa:deadsnakes/ppa -y
sudo apt update
sudo apt install -y python3.8 python3.8-distutils
curl -s https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo python3.8 get-pip.py
- name: Install safety for security checks
run: |
pip install safety
- name: Run safety check
run: |
safety check --full-report -r resources/src/requirements.txt