mirror of https://github.com/helix-editor/helix
ci: Merge two jobs
parent
e6fce860b1
commit
0f2ae35a13
|
@ -98,13 +98,13 @@ jobs:
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install stable toolchain
|
- name: Install stable toolchain
|
||||||
uses: helix-editor/rust-toolchain@v1
|
uses: dtolnay/rust-toolchain@1.61
|
||||||
with:
|
|
||||||
profile: minimal
|
|
||||||
override: true
|
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
|
||||||
|
- name: Validate queries
|
||||||
|
run: cargo xtask query-check
|
||||||
|
|
||||||
- name: Generate docs
|
- name: Generate docs
|
||||||
run: cargo xtask docgen
|
run: cargo xtask docgen
|
||||||
|
|
||||||
|
@ -115,20 +115,3 @@ jobs:
|
||||||
|| (echo "Run 'cargo xtask docgen', commit the changes and push again" \
|
|| (echo "Run 'cargo xtask docgen', commit the changes and push again" \
|
||||||
&& exit 1)
|
&& 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
|
|
||||||
|
|
Loading…
Reference in New Issue