Rework to use the debian docker based runner
All checks were successful
Bandit / audit-runtime-security (3.11) (pull_request) Successful in 10m5s
Flake8 / audit (3.11) (pull_request) Successful in 10m2s
Mypy / audit-typing (3.11) (pull_request) Successful in 11m3s
pip-audit / audit-dependency-security (3.11) (pull_request) Successful in 11m14s
Pylint / audit-runtime-security (3.11) (pull_request) Successful in 10m19s

This commit is contained in:
2026-03-15 11:01:18 +01:00
parent 5427fc69b0
commit 79d4ec6eb6
5 changed files with 101 additions and 27 deletions

View File

@ -1,17 +1,35 @@
---
name: Flake8
on: [push]
on:
push:
branches: [main]
pull_request:
branches: [main]
# XXX need to do stuff with uv
jobs:
build:
runs-on: freebsd
audit:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
python-version:
- "3.11"
steps:
- uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '${{ matrix.python-version }}'
cache: 'pip'
cache-dependency-path: 'requirements.txt'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade flake8
pip install -r requirements.txt
- name: Analyse code with Flake8
run: |
flake8 $(git ls-files '*.py')