Skip to content

chore: bump actions/upload-pages-artifact from 4.0.0 to 5.0.0 (#51) #20

chore: bump actions/upload-pages-artifact from 4.0.0 to 5.0.0 (#51)

chore: bump actions/upload-pages-artifact from 4.0.0 to 5.0.0 (#51) #20

Workflow file for this run

name: Python Checks
on:
push:
branches: [ main, development ]
pull_request:
branches: [ main, development ]
schedule:
- cron: '0 5 * * 0'
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: '3.14'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 bandit
- name: Lint with flake8
run: flake8 static/scripts/saxion-eduroam.py --max-line-length=120
- name: Security scan with bandit
run: bandit -r static/scripts/saxion-eduroam.py -ll