From 0c8c7b7ee00c276151a8f1486b2754adc0ef0b51 Mon Sep 17 00:00:00 2001 From: Ralph Giles Date: Tue, 16 Jan 2024 11:15:02 -0800 Subject: [PATCH] github actions: remove rust-cache Now that we're trying to review changes to github action scripts, it may not be worthwhile to use the cache. Experiment with removing it to see how that affects ci performance. --- .github/workflows/lint.yml | 3 --- .github/workflows/nostd.yml | 3 --- .github/workflows/tests.yml | 3 --- .github/workflows/wasm.yml | 3 --- 4 files changed, 12 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index dd0e9c96..ba818595 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -16,9 +16,6 @@ jobs: steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - name: Cache - uses: Swatinem/rust-cache@a22603398250b864f7190077025cf752307154dc # v2.7.2 - - name: Format run: cargo fmt --all -- --check diff --git a/.github/workflows/nostd.yml b/.github/workflows/nostd.yml index e9a82357..b9784383 100644 --- a/.github/workflows/nostd.yml +++ b/.github/workflows/nostd.yml @@ -27,9 +27,6 @@ jobs: - name: Toolchain run: rustup default ${{matrix.rust}} - - name: Cache - uses: Swatinem/rust-cache@a22603398250b864f7190077025cf752307154dc # v2.7.2 - - name: Check run: cargo check --no-default-features --all-targets diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d64a15ec..d682e205 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -27,9 +27,6 @@ jobs: - name: Toolchain run: rustup default ${{matrix.rust}} - - name: Cache - uses: Swatinem/rust-cache@a22603398250b864f7190077025cf752307154dc # v2.7.2 - - name: Build uses: actions-rs/cargo@844f36862e911db73fe0815f00a4a2602c279505 # v1.0.3 with: diff --git a/.github/workflows/wasm.yml b/.github/workflows/wasm.yml index a2f3a7fb..a140f877 100644 --- a/.github/workflows/wasm.yml +++ b/.github/workflows/wasm.yml @@ -18,9 +18,6 @@ jobs: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - name: Cache - uses: Swatinem/rust-cache@a22603398250b864f7190077025cf752307154dc # v2.7.2 - - name: WASM pkg run: | curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh