Skip to content

Commit

Permalink
ci(controller-test): remove manual cache actions (#646)
Browse files Browse the repository at this point in the history
* ci(scorecard): ensure apt install is approved

* ci(controller-test): remove manual cache actions
  • Loading branch information
tthvo authored Oct 17, 2023
1 parent ac9929e commit 41b5473
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/test-ci-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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 }} \
Expand Down

0 comments on commit 41b5473

Please sign in to comment.