From 4e4c6da3bfdea0e50e460298eedf41d835f2a551 Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Thu, 25 Aug 2022 17:24:09 -0500 Subject: Add query-check xtask --- .github/workflows/build.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to '.github/workflows') 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 -- cgit v1.2.3-70-g09d2