diff options
author | Michael Davis | 2022-02-14 23:36:02 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-03-10 08:31:57 +0000 |
commit | db3470d973ed97445d180c18035c2858e4749782 (patch) | |
tree | ed79d7cd3c84b1546ea690c98c52611ea815af58 /.github/workflows/release.yml | |
parent | 8081e9f0520819309fef9a3df7cad8df24126a28 (diff) |
ensure rust grammar is available in CI
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r-- | .github/workflows/release.yml | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1f9b6a32..2a9ea80e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -53,8 +53,6 @@ jobs: steps: - name: Checkout sources uses: actions/checkout@v3 - with: - submodules: true - name: Install ${{ matrix.rust }} toolchain uses: actions-rs/toolchain@v1 @@ -64,6 +62,20 @@ jobs: target: ${{ matrix.target }} override: true + - name: Fetch tree-sitter grammars + uses: actions-rs/cargo@v1 + with: + use-cross: ${{ matrix.cross }} + command: run + args: --release --locked --target ${{ matrix.target }} -- --fetch-grammars + + - name: Build tree-sitter grammars + uses: actions-rs/cargo@v1 + with: + use-cross: ${{ matrix.cross }} + command: run + args: --release --locked --target ${{ matrix.target }} -- --build-grammars + - name: Run cargo test uses: actions-rs/cargo@v1 with: @@ -114,14 +126,8 @@ jobs: steps: - name: Checkout sources uses: actions/checkout@v3 - with: - submodules: false - uses: actions/download-artifact@v2 - # with: - # path: dist - # - run: ls -al ./dist - - run: ls -al bins-* - name: Calculate tag name run: | |