ci: check that constants are always up-to-date

This commit is contained in:
link2xt
2024-05-17 16:25:47 +00:00
parent d8e98279c4
commit f84f0d5ad9
2 changed files with 19 additions and 10 deletions

View File

@@ -40,6 +40,18 @@ jobs:
- name: Check
run: cargo check --workspace --all-targets --all-features
npm_constants:
name: Check if node constants are up to date
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
show-progress: false
- name: Rebuild constants
run: npm run build:core:constants
- name: Check that constants are not changed
run: git diff --exit-code
cargo_deny:
name: cargo deny
runs-on: ubuntu-latest