From 4ff7d25a4484828c48ec3f4c3ea7ca0e42d5a1f2 Mon Sep 17 00:00:00 2001 From: Niklas Wojtkowiak <57798165+0xnim@users.noreply.github.com> Date: Sun, 5 Jan 2025 01:39:35 -0500 Subject: [PATCH] Remove cache as it does not help --- .github/workflows/rust.yml | 42 +------------------------------------- 1 file changed, 1 insertion(+), 41 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 6262757a..502a3c3c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -17,16 +17,6 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Cache dependencies - uses: actions/cache@v3 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - target - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - restore-keys: | - ${{ runner.os }}-cargo- - name: Install Rust nightly uses: dtolnay/rust-toolchain@nightly with: @@ -39,16 +29,6 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Cache dependencies - uses: actions/cache@v3 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - target - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - restore-keys: | - ${{ runner.os }}-cargo- - name: Install Rust nightly uses: dtolnay/rust-toolchain@nightly with: @@ -61,16 +41,6 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Cache dependencies - uses: actions/cache@v3 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - target - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - restore-keys: | - ${{ runner.os }}-cargo- - name: Install Rust nightly uses: dtolnay/rust-toolchain@nightly - name: Install and Run Cargo Audit @@ -94,19 +64,9 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Cache dependencies - uses: actions/cache@v3 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - target - key: ${{ matrix.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - restore-keys: | - ${{ matrix.os }}-cargo- - name: Install Rust nightly uses: dtolnay/rust-toolchain@nightly with: targets: ${{ matrix.target }} - name: Run Tests - run: cargo test --target ${{ matrix.target }} --verbose \ No newline at end of file + run: cargo test --target ${{ matrix.target }} --verbose