diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index d837fcb5..40471f99 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -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 diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index cb519a60..70b68a23 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -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 diff --git a/Makefile b/Makefile index b6da8b56..e82d2892 100644 --- a/Makefile +++ b/Makefile @@ -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: