diff --git a/.github/workflows/ci-python.yml b/.github/workflows/ci-python.yml index f49116c7..c4df0441 100644 --- a/.github/workflows/ci-python.yml +++ b/.github/workflows/ci-python.yml @@ -22,7 +22,11 @@ jobs: - uses: r7kamura/rust-problem-matchers@v1.1.0 - run: cargo --version --verbose - - uses: Swatinem/rust-cache@v2 + - name: Run sccache-cache + uses: mozilla-actions/sccache-action@v0.0.3 + env: + SCCACHE_GHA_ENABLED: "true" + RUSTC_WRAPPER: "sccache" - name: "Python Dataflow example" run: cargo run --example python-dataflow diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e34ce229..21add803 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,11 @@ jobs: - uses: actions/checkout@v3 - uses: r7kamura/rust-problem-matchers@v1.1.0 - run: cargo --version --verbose - - uses: Swatinem/rust-cache@v2 + - name: Run sccache-cache + uses: mozilla-actions/sccache-action@v0.0.3 + env: + SCCACHE_GHA_ENABLED: "true" + RUSTC_WRAPPER: "sccache" - name: "Check" run: cargo check --all @@ -39,7 +43,11 @@ jobs: - uses: r7kamura/rust-problem-matchers@v1.1.0 - run: cargo --version --verbose - - uses: Swatinem/rust-cache@v2 + - name: Run sccache-cache + uses: mozilla-actions/sccache-action@v0.0.3 + env: + SCCACHE_GHA_ENABLED: "true" + RUSTC_WRAPPER: "sccache" - name: "Build examples" timeout-minutes: 30 @@ -72,7 +80,11 @@ jobs: - uses: r7kamura/rust-problem-matchers@v1.1.0 - run: cargo --version --verbose - - uses: Swatinem/rust-cache@v2 + - name: Run sccache-cache + uses: mozilla-actions/sccache-action@v0.0.3 + env: + SCCACHE_GHA_ENABLED: "true" + RUSTC_WRAPPER: "sccache" - name: "Build cli and binaries" timeout-minutes: 30 @@ -104,7 +116,11 @@ jobs: - uses: r7kamura/rust-problem-matchers@v1.1.0 - run: cargo --version --verbose - - uses: Swatinem/rust-cache@v2 + - name: Run sccache-cache + uses: mozilla-actions/sccache-action@v0.0.3 + env: + SCCACHE_GHA_ENABLED: "true" + RUSTC_WRAPPER: "sccache" - name: "Remote Rust Dataflow example" if: false # skip this example for now until we uploaded new test nodes @@ -119,7 +135,11 @@ jobs: - uses: r7kamura/rust-problem-matchers@v1.1.0 - run: cargo --version --verbose - - uses: Swatinem/rust-cache@v2 + - name: Run sccache-cache + uses: mozilla-actions/sccache-action@v0.0.3 + env: + SCCACHE_GHA_ENABLED: "true" + RUSTC_WRAPPER: "sccache" - name: "Clippy" run: cargo clippy --all @@ -147,7 +167,11 @@ jobs: - uses: r7kamura/rust-problem-matchers@v1.1.0 - run: cargo --version --verbose - - uses: Swatinem/rust-cache@v2 + - name: Run sccache-cache + uses: mozilla-actions/sccache-action@v0.0.3 + env: + SCCACHE_GHA_ENABLED: "true" + RUSTC_WRAPPER: "sccache" - run: cargo install cargo-lichking - name: "Check dependency licenses"