Split generate and sign steps; add more CI checks #201
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: CI | |
on: [push, pull_request] | |
jobs: | |
verify: | |
runs-on: ubuntu-latest | |
container: debian:bookworm | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
apt-get update && apt-get install --yes --no-install-recommends make openssl python3 python3-poetry | |
poetry install --no-ansi | |
- name: Verify ruleset signature | |
run: | | |
make verify | |
lint: | |
runs-on: ubuntu-latest | |
container: debian:bookworm | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
apt-get update && apt-get install --yes --no-install-recommends make python3 python3-poetry | |
poetry install --no-ansi | |
- name: Check code formatting via black | |
run: | | |
make check-black |