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:
- test
......@@ -11,7 +11,7 @@
paths:
- tools/bin
script:
- make lint
- make lint vulncheck
tests:
stage: test
......@@ -21,4 +21,4 @@
paths:
- .gopath/pkg/mod
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)
help: ## Display this help
......@@ -26,3 +26,11 @@
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
go 1.22
go 1.24.1
require (
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