Skip to content

Generate rules with Python #1

Generate rules with Python

Generate rules with Python #1

Workflow file for this run

name: Continuous integration
on: [push, pull_request]
jobs:
check:
name: Run checks
runs-on: ubuntu-latest
container: python:3.11
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install dependencies
run: |
python3 -m venv venv
source venv/bin/activate
pip install pyright ruff
- name: Run checks
run: source venv/bin/activate && make check
validate:
name: Validate rules
runs-on: ubuntu-latest
container: python:3.11
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Validate rules
run: |
make generate
git diff --exit-code