Skip to content

Commit d7a00e6

Browse files
authored
govulncheck: use golang:1.24 as a base image (#166)
all active repositories have migrated to Go 1.24 also, local build is now called `govulncheckx` to distinguish from the official `govulncheck` Signed-off-by: Xavier Coulon <[email protected]>
1 parent d7ebaee commit d7a00e6

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

govulncheck-action/makefile

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,21 +53,13 @@ install-golangci-lint:
5353
# Installing
5454
# --------------------------------------
5555

56-
GIT_COMMIT_ID_SHORT := $(shell git rev-parse --short HEAD)
57-
ifneq ($(shell git status --porcelain --untracked-files=no),)
58-
GIT_COMMIT_ID_SHORT := $(GIT_COMMIT_ID_SHORT)-dirty
59-
endif
60-
61-
BUILD_TIME = `date -u '+%Y-%m-%dT%H:%M:%SZ'`
62-
63-
6456
.PHONY: build
6557
## build the binary and copy into ./bin
6658
build:
6759
@go build \
68-
-o bin/govulncheck main.go
60+
-o bin/govulncheckx main.go
6961

7062
.PHONY: install
7163
## build the binary and copy into $(GOPATH)/bin
7264
install: build
73-
@mv bin/govulncheck ${GOPATH}/bin/govulncheck
65+
@mv bin/govulncheckx ${GOPATH}/bin/govulncheckx

0 commit comments

Comments
 (0)