From 64b44d5417e92e54cd52f8515d770ae7e6e47233 Mon Sep 17 00:00:00 2001 From: "Jonas L." Date: Fri, 8 Nov 2024 12:22:01 +0100 Subject: [PATCH] ci: download go tools before running them (#904) Remove the download logs from the actually tool run output. --- .github/workflows/build.yml | 3 +++ .github/workflows/release.yml | 3 +++ .gitlab-ci.yml | 1 + 3 files changed, 7 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1d2ca99a..bdbb427b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,6 +20,9 @@ jobs: with: go-version: "1.23" + - name: Download tools + run: go -C ./tools mod download + - name: Run GoReleaser uses: goreleaser/goreleaser-action@v6 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 57fabcb4..878764d4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,6 +20,9 @@ jobs: with: go-version: "1.23" + - name: Download tools + run: go -C ./tools mod download + - name: Import GPG key id: import_gpg uses: crazy-max/ghaction-import-gpg@v6 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bcf19993..c6a8f53a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,6 +22,7 @@ build: script: - go env - go mod download + - go -C ./tools mod download test:lint: stage: test