.github/workflows/latest.yml
---
name: Latest
on:
push:
branches:
- feature/latest
schedule:
- cron: '0 0 1,15 * *'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Requirements
run: |
cut -d= -f1 requirements.txt > /tmp/requirements-latest.txt
pip install wheel
pip install -qr /tmp/requirements-latest.txt
pip freeze
pip check
- name: Bandit
run: bandit -r .
- name: Build
run: make build
- name: Test
run: make test