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
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:
@ -1,17 +1,36 @@
|
|||||||
---
|
---
|
||||||
name: Bandit
|
name: Bandit
|
||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
# XXX need to do stuff with uv
|
# XXX need to do stuff with uv
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
audit-runtime-security:
|
||||||
runs-on: freebsd
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ["3.11"]
|
python-version:
|
||||||
|
- "3.11"
|
||||||
steps:
|
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 bandit
|
||||||
|
pip install -r requirements.txt
|
||||||
|
|
||||||
- name: Analyse code with Bandit
|
- name: Analyse code with Bandit
|
||||||
run: |
|
run: |
|
||||||
bandit -r .
|
bandit -r .
|
||||||
|
|||||||
@ -1,17 +1,35 @@
|
|||||||
---
|
---
|
||||||
name: Flake8
|
name: Flake8
|
||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
# XXX need to do stuff with uv
|
# XXX need to do stuff with uv
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
audit:
|
||||||
runs-on: freebsd
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ["3.11"]
|
python-version:
|
||||||
|
- "3.11"
|
||||||
steps:
|
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
|
- name: Analyse code with Flake8
|
||||||
run: |
|
run: |
|
||||||
flake8 $(git ls-files '*.py')
|
flake8 $(git ls-files '*.py')
|
||||||
|
|||||||
@ -1,17 +1,36 @@
|
|||||||
---
|
---
|
||||||
name: Mypy
|
name: Mypy
|
||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
# XXX need to do stuff with uv
|
# XXX need to do stuff with uv
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
audit-typing:
|
||||||
runs-on: freebsd
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ["3.11"]
|
python-version:
|
||||||
|
- "3.11"
|
||||||
steps:
|
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 mypy
|
||||||
|
pip install -r requirements.txt
|
||||||
|
|
||||||
- name: Analyse code with Mypy
|
- name: Analyse code with Mypy
|
||||||
run: |
|
run: |
|
||||||
mypy --install-types --non-interactive $(git ls-files '*.py')
|
mypy --install-types --non-interactive $(git ls-files '*.py')
|
||||||
|
|||||||
@ -10,17 +10,17 @@ on:
|
|||||||
|
|
||||||
# XXX need to do stuff with uv
|
# XXX need to do stuff with uv
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
audit-dependency-security:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version:
|
python-version:
|
||||||
- "3.11"
|
- "3.11"
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '${{ matrix.python-version }}'
|
python-version: '${{ matrix.python-version }}'
|
||||||
|
|||||||
@ -1,17 +1,35 @@
|
|||||||
---
|
---
|
||||||
name: Pylint
|
name: Pylint
|
||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
# XXX need to do stuff with uv
|
# XXX need to do stuff with uv
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
audit-runtime-security:
|
||||||
runs-on: freebsd
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ["3.11"]
|
python-version:
|
||||||
|
- "3.11"
|
||||||
steps:
|
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 pylint
|
||||||
|
pip install -r requirements.txt
|
||||||
- name: Analyse code with Pylint
|
- name: Analyse code with Pylint
|
||||||
run: |
|
run: |
|
||||||
pylint $(git ls-files '*.py')
|
pylint $(git ls-files '*.py')
|
||||||
|
|||||||
Reference in New Issue
Block a user