Skip to content

chore(instructor): factor #153

chore(instructor): factor

chore(instructor): factor #153

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Check (lint + security)
on:
push:
branches: [ main, master, dev ]
paths:
- '**.py'
pull_request:
branches: [ main, master ]
jobs:
Check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install flake8
run: pip install flake8
- name: Lint with flake8
run: flake8 --exclude setup.py .
# continue-on-error: true
- name: Install bandit
run: pip install bandit
- name: Check security issues with bandit
run: bandit .
# continue-on-error: true