From 9fe14c2ecd9504563dfdb6127c09351ba0bb9ef9 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Wed, 15 Mar 2023 11:45:31 +0100 Subject: [PATCH] Don't include OS in key The `rust-cache` action already takes the OS into account automatically (as part of the Rust version that is used for the first hash). --- .github/workflows/ci-python.yml | 2 +- .github/workflows/ci.yml | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci-python.yml b/.github/workflows/ci-python.yml index 850de3c5..1d4c03af 100644 --- a/.github/workflows/ci-python.yml +++ b/.github/workflows/ci-python.yml @@ -24,7 +24,7 @@ jobs: - run: cargo --version --verbose - uses: Swatinem/rust-cache@v2 with: - shared-key: "ubuntu-latest" + shared-key: "" - name: "Python Dataflow example" run: cargo run --example python-dataflow diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d518131b..19c01ef2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: - run: cargo --version --verbose - uses: Swatinem/rust-cache@v2 with: - shared-key: ${{ matrix.platform }} + shared-key: "" - name: "Check" run: cargo check --all @@ -43,7 +43,7 @@ jobs: - run: cargo --version --verbose - uses: Swatinem/rust-cache@v2 with: - shared-key: ${{ matrix.platform }} + shared-key: "" - name: "Build examples" timeout-minutes: 30 @@ -78,7 +78,7 @@ jobs: - run: cargo --version --verbose - uses: Swatinem/rust-cache@v2 with: - shared-key: ${{ matrix.platform }} + shared-key: "" - name: "Build cli and binaries" timeout-minutes: 30 @@ -116,7 +116,7 @@ jobs: - run: cargo --version --verbose - uses: Swatinem/rust-cache@v2 with: - shared-key: ${{ matrix.platform }} + shared-key: "" - name: "Remote Rust Dataflow example" if: false # skip this example for now until we uploaded new test nodes @@ -133,7 +133,7 @@ jobs: - run: cargo --version --verbose - uses: Swatinem/rust-cache@v2 with: - shared-key: ubuntu-latest + shared-key: "" - name: "Clippy" run: cargo clippy --all @@ -163,7 +163,7 @@ jobs: - run: cargo --version --verbose - uses: Swatinem/rust-cache@v2 with: - shared-key: ubuntu-latest + shared-key: "" - run: cargo install cargo-lichking - name: "Check dependency licenses"