Lint our GitHub Actions workflows with zizmor #238
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 | |
with: | |
persist-credentials: false | |
- 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 | |
with: | |
persist-credentials: false | |
- name: Install dependencies | |
run: | | |
apt-get update && apt-get install --yes --no-install-recommends make python3 python3-poetry | |
poetry install --no-ansi | |
- name: Run all linters | |
run: | | |
make lint |