ci: add linting step for web-tree-sitter
This commit is contained in:
parent
169d7ad57f
commit
11410b5a8e
2 changed files with 7 additions and 1 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -40,7 +40,9 @@ jobs:
|
|||
components: clippy, rustfmt
|
||||
|
||||
- name: Lint files
|
||||
run: make lint
|
||||
run: |
|
||||
make lint
|
||||
make lint-web
|
||||
|
||||
sanitize:
|
||||
uses: ./.github/workflows/sanitize.yml
|
||||
|
|
|
|||
4
Makefile
4
Makefile
|
|
@ -109,6 +109,10 @@ lint:
|
|||
cargo +nightly fmt --all --check
|
||||
cargo +nightly clippy --workspace --all-targets -- -D warnings
|
||||
|
||||
lint-web:
|
||||
npm --prefix lib/binding_web ci
|
||||
npm --prefix lib/binding_web run lint
|
||||
|
||||
format:
|
||||
cargo +nightly fmt --all
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue