Skip to content
Snippets Groups Projects
Commit 88af080ab767 authored by Axel Prel's avatar Axel Prel
Browse files

upgrade project: golang version, vulncheck, golangCI

parent 50adb735d16e
No related branches found
No related tags found
No related merge requests found
--- ---
image: quay.orus.io/cc/golang:1.22.4-bullseye image: quay.orus.io/cc/golang:1.24.1-bullseye
stages: stages:
- test - test
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
paths: paths:
- tools/bin - tools/bin
script: script:
- make lint - make lint vulncheck
tests: tests:
stage: test stage: test
...@@ -21,4 +21,4 @@ ...@@ -21,4 +21,4 @@
paths: paths:
- .gopath/pkg/mod - .gopath/pkg/mod
script: script:
- go test . - make test
GOLANGCI_LINT_VERSION = v1.63.4 GOLANGCI_LINT_VERSION = v1.64.6
GOLANGCI_LINT_BIN = tools/bin/golangci-lint-$(GOLANGCI_LINT_VERSION) GOLANGCI_LINT_BIN = tools/bin/golangci-lint-$(GOLANGCI_LINT_VERSION)
help: ## Display this help help: ## Display this help
...@@ -26,3 +26,11 @@ ...@@ -26,3 +26,11 @@
test: test:
go test ./... go test ./...
.PHONY: govulncheck-fetch
govulncheck-fetch:
go install golang.org/x/vuln/cmd/govulncheck@latest
.PHONY: vulncheck
vulncheck: govulncheck-fetch
govulncheck ./...
module orus.io/orus-io/go-orusapi module orus.io/orus-io/go-orusapi
go 1.22 go 1.24.1
require ( require (
github.com/Masterminds/squirrel v1.5.4 github.com/Masterminds/squirrel v1.5.4
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment