Browse Source

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).
better-caching
Philipp Oppermann 2 years ago
parent
commit
9fe14c2ecd
Failed to extract signature
2 changed files with 7 additions and 7 deletions
  1. +1
    -1
      .github/workflows/ci-python.yml
  2. +6
    -6
      .github/workflows/ci.yml

+ 1
- 1
.github/workflows/ci-python.yml View File

@@ -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


+ 6
- 6
.github/workflows/ci.yml View File

@@ -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"


Loading…
Cancel
Save