Skip to content

Commit

Permalink
ci: fix goreleaser not being found (#208)
Browse files Browse the repository at this point in the history
Signed-off-by: cakemanny <[email protected]>
  • Loading branch information
cakemanny authored Jul 18, 2024
1 parent 8b5b821 commit 42eaafc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ jobs:
git fetch upstream --tags
fi
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '>=1.19.0'

- name: Run tests
run: |
make test
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.15
go-version: '>=1.19.0'
- name: Install goreleaser
run: go install github.com/goreleaser/goreleaser@latest
- name: Create release
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ ${trace_uploader}:

.PHONY: cross
cross:
IMAGE_NAME_TRACERUNNER=$(IMAGE_NAME_TRACERUNNER) GO111MODULE=on goreleaser --snapshot --rm-dist
IMAGE_NAME_TRACERUNNER=$(IMAGE_NAME_TRACERUNNER) GO111MODULE=on goreleaser --snapshot --clean

.PHONY: release
release:
IMAGE_NAME_TRACERUNNER=$(IMAGE_NAME_TRACERUNNER) GO111MODULE=on goreleaser --rm-dist
IMAGE_NAME_TRACERUNNER=$(IMAGE_NAME_TRACERUNNER) GO111MODULE=on goreleaser --clean

.PHONY: clean
clean:
Expand Down

0 comments on commit 42eaafc

Please sign in to comment.