Skip to content

Commit

Permalink
[ci] Run pre-commit hooks on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mpsijm committed Feb 16, 2024
1 parent d502dcd commit d6cb3f7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/pytest.yaml → .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d6cb3f7

Please sign in to comment.