aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorMichael Davis2022-08-25 22:24:09 +0000
committerBlaž Hrastnik2022-08-31 08:45:23 +0000
commit4e4c6da3bfdea0e50e460298eedf41d835f2a551 (patch)
tree54d82fb907d7e01d61fea6ceb3ada7584117c916 /.github/workflows
parentfa1dc7e5086e598eb04a34407d8c09e5605b3760 (diff)
Add query-check xtask
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b24cdb8c..2a1950df 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -131,3 +131,23 @@ jobs:
|| (echo "Run 'cargo xtask docgen', commit the changes and push again" \
&& exit 1)
+ queries:
+ name: Tree-sitter queries
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout sources
+ uses: actions/checkout@v3
+
+ - name: Install stable toolchain
+ uses: helix-editor/rust-toolchain@v1
+ with:
+ profile: minimal
+ override: true
+
+ - uses: Swatinem/rust-cache@v1
+
+ - name: Generate docs
+ uses: actions-rs/cargo@v1
+ with:
+ command: xtask
+ args: query-check