From 96563ccb421a79228e5803a21290649e7f06af30 Mon Sep 17 00:00:00 2001 From: Martin Date: Tue, 29 Jun 2021 14:36:35 +0200 Subject: [PATCH] CI allows for both modes --- .github/workflows/rust.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 43fec7d6b..7c00dab46 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -36,6 +36,9 @@ jobs: toolchain: ${{ matrix.rust }} override: true + - name: Dependency cache + uses: Swatinem/rust-cache@v1 + - name: Build uses: actions-rs/cargo@v1 with: @@ -47,3 +50,9 @@ jobs: with: command: test args: --manifest-path typst/Cargo.toml --all-features + + - name: Test without incremental + uses: actions-rs/cargo@v1 + with: + command: test + args: --manifest-path typst/Cargo.toml --no-default-features --features fs