From 5462bf5f2fdd8ed98f1d3f5d4d4679d1b412b06a Mon Sep 17 00:00:00 2001 From: Dennis Kobert Date: Wed, 8 Feb 2023 00:15:41 +0100 Subject: [PATCH] Use cargo nextest and sccache in ci (#1011) * Use cargo nextest * add sccache --- .github/workflows/ci.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5cc05a07..977e8a8c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,10 +13,14 @@ env: jobs: build: runs-on: self-hosted + env: + RUSTC_WRAPPER: /usr/bin/sccache + CARGO_INCREMENTAL: 0 + SCCACHE_DIR: /var/lib/github-actions/.cache steps: - uses: actions/checkout@v2 - + - name: ๐Ÿ”ง Set up Node uses: actions/setup-node@v1 with: @@ -39,7 +43,7 @@ jobs: SKIP_CARGO_ABOUT: true run: | cd frontend - npm run build + mold -run npm run build - name: ๐Ÿ‘• Lint Graphite web formatting env: @@ -58,7 +62,7 @@ jobs: - name: ๐Ÿงช Run Rust tests run: | - mold -run cargo test + mold -run cargo nextest run cargo-deny: runs-on: ubuntu-latest