Skip to content

⬆️ Bump safety from 2.3.5 to 3.0.1 #242

⬆️ Bump safety from 2.3.5 to 3.0.1

⬆️ Bump safety from 2.3.5 to 3.0.1 #242

Workflow file for this run

name: Security
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
check-security:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Setup Python 🐍
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install Poetry 📦️
uses: abatilo/actions-poetry@v2
- name: Config poetry ⚙️
run : |
poetry config virtualenvs.create true --local
poetry config virtualenvs.in-project true --local
- name: Load cached venv 🗃
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install Dependencies 📌
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction
- name: Check Security 🚓
run: make sec