From 41b5473db87e590734799159bab24af855b57cfe Mon Sep 17 00:00:00 2001 From: Thuan Vo Date: Tue, 17 Oct 2023 07:15:51 -0700 Subject: [PATCH] ci(controller-test): remove manual cache actions (#646) * ci(scorecard): ensure apt install is approved * ci(controller-test): remove manual cache actions --- .github/workflows/test-ci-reusable.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test-ci-reusable.yml b/.github/workflows/test-ci-reusable.yml index b4acc1c4..a697ff36 100644 --- a/.github/workflows/test-ci-reusable.yml +++ b/.github/workflows/test-ci-reusable.yml @@ -42,14 +42,6 @@ jobs: - uses: actions/setup-go@v4 with: go-version: '1.20.*' - - uses: actions/cache@v3 - with: - path: | - ~/go/pkg/mod - ~/.cache/go-build - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- - name: Run controller tests run: make test-envtest @@ -64,8 +56,8 @@ jobs: run: | echo "deb $OPENSUSE_UNOFFICIAL_LIBCONTAINERS_SOURCE_URL/ /" | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:unstable.list curl -fsSL $OPENSUSE_UNOFFICIAL_LIBCONTAINERS_KEY_URL | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/devel_kubic_libcontainers_unstable.gpg - sudo apt update - sudo apt install podman + sudo apt -y update + sudo apt -y install podman - name: Build scorecard image for test run: | CUSTOM_SCORECARD_IMG=ghcr.io/${{ github.repository_owner }}/cryostat-operator-scorecard:${{ inputs.tag }} \