Skip to content

Commit

Permalink
ci: download go tools before running them
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola committed Nov 8, 2024
1 parent 2bed829 commit d0fdc11
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ build:
script:
- go env
- go mod download
- go -C ./tools mod download

test:lint:
stage: test
Expand Down

0 comments on commit d0fdc11

Please sign in to comment.