From 0426f7fb3240d13544f7d4c9e5ce02f30eb43668 Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Wed, 9 Oct 2024 10:09:24 +0200 Subject: [PATCH] Remove docker caching from all tests Persisting them takes about 2.5min --- .github/workflows/ci.yaml | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 69b134259..d9870c9b3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,13 +20,6 @@ jobs: - name: set up docker buildx run: docker buildx create --name builder --use - - name: cache docker layers - uses: actions/cache@v2 - with: - path: /tmp/.buildx-cache - key: docker-buildx-rs-${{ github.sha }} - restore-keys: docker-buildx-rs- - - name: Rust Cache uses: Swatinem/rust-cache@v2 with: @@ -38,11 +31,6 @@ jobs: working-directory: test-framework run: cargo test -p e2e-tests - - name: prevent the cache from growing too large - run: | - rm -rf /tmp/.buildx-cache - mv /tmp/.buildx-cache-new /tmp/.buildx-cache - compliance-tests-og: runs-on: ubuntu-latest env: @@ -82,13 +70,6 @@ jobs: - name: set up docker buildx run: docker buildx create --name builder --use - - name: cache docker layers - uses: actions/cache@v2 - with: - path: /tmp/.buildx-cache - key: docker-buildx-rs-${{ github.sha }} - restore-keys: docker-buildx-rs- - - name: Rust Cache uses: Swatinem/rust-cache@v2 with: @@ -111,11 +92,6 @@ jobs: cargo test -p sudo-compliance-tests -- --ignored | tee "$tmpfile" grep 'test result: FAILED. 0 passed' "$tmpfile" || ( echo "expected ALL tests to fail but at least one passed; the passing tests must be un-#[ignore]-d" && exit 1 ) - - name: prevent the cache from growing too large - run: | - rm -rf /tmp/.buildx-cache - mv /tmp/.buildx-cache-new /tmp/.buildx-cache - compliance-tests-lint: runs-on: ubuntu-latest