From 2516305fa88f448c497f037c62b33b4f81988de1 Mon Sep 17 00:00:00 2001 From: Reilly Wood <26268125+rgwood@users.noreply.github.com> Date: Thu, 28 Apr 2022 11:18:27 -0700 Subject: [PATCH] CI: enable rust-cache, remove minimal (#5354) * Enable rust-cache Add cache buster key Add rust-cache to python venv * Remove minimal CI --- .github/workflows/ci.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b2f57fa9f..309618f7b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: fail-fast: false matrix: platform: [windows-latest, macos-latest, ubuntu-latest] - style: [all, default, minimal] + style: [all, default] rust: - stable include: @@ -16,17 +16,11 @@ jobs: flags: '--all-features' - style: default flags: '' - - style: minimal - flags: '--no-default-features' exclude: - platform: windows-latest style: default - - platform: windows-latest - style: minimal - platform: macos-latest style: default - - platform: macos-latest - style: minimal runs-on: ${{ matrix.platform }} @@ -41,6 +35,10 @@ jobs: override: true components: rustfmt, clippy + - uses: Swatinem/rust-cache@v1 + with: + key: "1" # increment this to bust the cache if needed + - name: Rustfmt uses: actions-rs/cargo@v1 with: @@ -89,6 +87,10 @@ jobs: override: true components: rustfmt, clippy + - uses: Swatinem/rust-cache@v1 + with: + key: "1" # increment this to bust the cache if needed + - name: Install Nushell uses: actions-rs/cargo@v1 with: