From f0de7546138953da4e66e42dfc6cf5ad6830d9f1 Mon Sep 17 00:00:00 2001 From: Jimmi Dyson Date: Tue, 5 Dec 2023 14:00:53 +0000 Subject: [PATCH] fixup! ci: Fix up more workflows tooling --- .github/workflows/synopsys-schedule.yaml | 6 +++--- .github/workflows/synopsys.yaml | 6 +++--- .github/workflows/trivy-scan.yaml | 15 ++++----------- 3 files changed, 10 insertions(+), 17 deletions(-) diff --git a/.github/workflows/synopsys-schedule.yaml b/.github/workflows/synopsys-schedule.yaml index 5026eb1053..b2325c0068 100644 --- a/.github/workflows/synopsys-schedule.yaml +++ b/.github/workflows/synopsys-schedule.yaml @@ -11,10 +11,10 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Setup Go - uses: actions/setup-go@v4 + - name: Install devbox + uses: jetpack-io/devbox-install-action@v0.7.0 with: - go-version-file: go.mod + enable-cache: true - name: Build Project run: make build-snapshot diff --git a/.github/workflows/synopsys.yaml b/.github/workflows/synopsys.yaml index 6072dcf829..eed4d7e4bb 100644 --- a/.github/workflows/synopsys.yaml +++ b/.github/workflows/synopsys.yaml @@ -13,10 +13,10 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Setup Go - uses: actions/setup-go@v4 + - name: Install devbox + uses: jetpack-io/devbox-install-action@v0.7.0 with: - go-version-file: go.mod + enable-cache: true - name: Build Project run: make build-snapshot diff --git a/.github/workflows/trivy-scan.yaml b/.github/workflows/trivy-scan.yaml index 7315b7df3b..4d99749221 100644 --- a/.github/workflows/trivy-scan.yaml +++ b/.github/workflows/trivy-scan.yaml @@ -22,20 +22,13 @@ jobs: - name: Get repository name run: echo "REPOSITORY_NAME=${GITHUB_REPOSITORY#*/}" >> $GITHUB_ENV - - name: Setup Go - uses: actions/setup-go@v4 + - name: Install devbox + uses: jetpack-io/devbox-install-action@v0.7.0 with: - go-version-file: go.mod - - - name: Install tools - uses: redhat-actions/openshift-tools-installer@v1 - with: - source: "github" - kustomize: "latest" - ko: "latest" + enable-cache: true - name: Prepare build - run: make manifests generate + run: make go-generate - name: Build container env: