aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorBlaž Hrastnik2022-12-13 06:14:40 +0000
committerBlaž Hrastnik2022-12-13 06:14:40 +0000
commit0f2ae35a1336d5fef823127dc134ed5675e5b9cb (patch)
treea372cc9971de862323641f1fa8d385605be0c619 /.github
parente6fce860b10faab1cb50b7709a67ded113364392 (diff)
ci: Merge two jobs
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml25
1 files changed, 4 insertions, 21 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 3a4896f1..0d6fcb3e 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -98,13 +98,13 @@ jobs:
uses: actions/checkout@v3
- name: Install stable toolchain
- uses: helix-editor/rust-toolchain@v1
- with:
- profile: minimal
- override: true
+ uses: dtolnay/rust-toolchain@1.61
- uses: Swatinem/rust-cache@v2
+ - name: Validate queries
+ run: cargo xtask query-check
+
- name: Generate docs
run: cargo xtask docgen
@@ -115,20 +115,3 @@ 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@v2
-
- - name: Generate docs
- run: cargo xtask query-check