summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-06-30 00:43:53 +0200
committerGitHub <noreply@github.com>2021-06-30 00:43:53 +0200
commitd5d2b80699a002594f429e30f5f1ca0ca58d3412 (patch)
tree15e0f0565d4aa7c8230cb76b057b99761788c86c /.github
parent2f44d10aa4209b226cfc3d0f8f2c8516005edf6a (diff)
parentff0e3442ef68a23dba273122f3ba0a54a34c45bf (diff)
Merge pull request #34 from typst/cfg-conditional
Put incremental compilation behind feature
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/rust.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 43fec7d6..7c00dab4 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