Skip to content

Commit

Permalink
ci: Merge two jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
archseer committed Dec 13, 2022
1 parent e6fce86 commit 0f2ae35
Showing 1 changed file with 4 additions and 21 deletions.
25 changes: 4 additions & 21 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

0 comments on commit 0f2ae35

Please sign in to comment.