Skip to content

fix typo in publish workflow #184

fix typo in publish workflow

fix typo in publish workflow #184

Workflow file for this run

name: "Lint"
on:
push:
branches: [ develop ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ develop ]
schedule:
- cron: '30 22 15 * *'
jobs:
flake8:
name: flake8
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install flake8
run: |
python -m pip install --upgrade pip wheel
python -m pip install flake8
python --version
pip list
- name: Run flake8
run: flake8 -v src tests docs
bandit:
name: bandit
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install bandit
run: |
python -m pip install --upgrade pip wheel
python -m pip install bandit
- name: Run bandit
# "B101:assert_used" is allowed in tests.
run: |
bandit -r src docs
bandit -r tests --skip B101