Skip to content

Commit

Permalink
Add a CI job to ensure generated types are updated
Browse files Browse the repository at this point in the history
Ensure that type generation from `schema.json` is up-to-date.
  • Loading branch information
andrew-farries committed Jan 10, 2024
1 parent 72cc155 commit ae0c9b0
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,16 @@ jobs:
fi
done
type-generation:
name: Type generation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Ensure generated types are up-to-date
run: |
echo hello world
license-check:
name: License check
runs-on: ubuntu-latest
Expand Down Expand Up @@ -106,7 +116,7 @@ jobs:
release:
runs-on: ubuntu-latest
needs: [test, lint, examples, license-check]
needs: [test, lint, examples, license-check, type-generation]
if: startsWith(github.ref, 'refs/tags/')
env:
DOCKER_CLI_EXPERIMENTAL: "enabled"
Expand Down

0 comments on commit ae0c9b0

Please sign in to comment.