From 0c345df75152cce477e74e64fa212e05296fe82b Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Mon, 7 Apr 2025 13:28:34 +0200 Subject: [PATCH] fix(ci): ensure go mod tidy is run before clustertool release pipeline --- .github/workflows/clustertool.release.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/clustertool.release.yaml b/.github/workflows/clustertool.release.yaml index b5960ad675a..658441f841a 100644 --- a/.github/workflows/clustertool.release.yaml +++ b/.github/workflows/clustertool.release.yaml @@ -23,6 +23,10 @@ jobs: **/go.sum # - name: Install Syft # run: sudo curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin + - run: | + cd ./clustertool + go mod tidy + cd .. - uses: goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552 # v6 with: args: release --clean