diff --git a/.github/workflows/pytest.yaml b/.github/workflows/ci.yaml similarity index 58% rename from .github/workflows/pytest.yaml rename to .github/workflows/ci.yaml index f214bdb5..0e4423dd 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/ci.yaml @@ -1,10 +1,17 @@ name: CI on: [push, pull_request] + jobs: + pre-commit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: pre-commit/action@v3.0.1 + test: runs-on: ubuntu-latest container: ragnargrootkoerkamp/bapctools steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: cue vet doc/generators.yaml support/schemas/*cue -d '#Generators' - run: pytest