Skip to content

Commit

Permalink
ci: enforce schema.go's updatedness (#194)
Browse files Browse the repository at this point in the history
Signed-off-by: William Woodruff <[email protected]>
  • Loading branch information
woodruffw authored Feb 6, 2024
1 parent 0171902 commit 471656d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,21 @@ jobs:
cache: "pip"
cache-dependency-path: pyproject.toml

- name: regenerate schema
run: make limbo-schema.json
- uses: actions/setup-go@v5
with:
go-version: ">=1.20.5"

- name: fail if the schema has changed
run: |
make limbo-schema.json
git diff --exit-code -- limbo-schema.json
- name: fail if schema.go has changed
run: |
make -C harness/gocryptox509 schema.go
git diff --exit-code -- harness/gocryptox509/schema.go
check-harnesses:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 471656d

Please sign in to comment.