]>
Commit | Line | Data |
---|---|---|
3ad6dfbb VB |
1 | --- |
2 | name: Code style | |
3 | on: | |
4 | push: | |
5 | branches: | |
6 | - master | |
7 | pull_request: | |
8 | jobs: | |
9 | style-check: | |
10 | runs-on: ubuntu-latest | |
11 | steps: | |
e8e5d15e | 12 | - uses: actions/checkout@v4 |
cf0e944b | 13 | - uses: cachix/install-nix-action@v24 |
3ad6dfbb VB |
14 | - name: Check Python/C style |
15 | run: | | |
16 | nix develop --command ci-helper format-c format-python | |
17 | git diff --exit-code |