Skip to content
Snippets Groups Projects
Commit ff0291af authored by Neil-Jocelyn Schark's avatar Neil-Jocelyn Schark
Browse files

Resolve "Manually update golangici-lint to v2.1" and remove not used lint job from just

parent 908a4659
No related branches found
No related tags found
1 merge request!19Resolve "Manually update golangici-lint to v2.1" and remove not used lint job from just
Pipeline #269211 passed
......@@ -36,7 +36,7 @@ lint-api:
lint-go:
stage: lint
image:
name: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/golangci/golangci-lint:v2.1.1
name: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/golangci/golangci-lint:v2.1
script:
- golangci-lint run
needs:
......
golangci-lint-version := "v2.1.1"
golangci-lint-version := "v2.1"
tools-install-path := "bin"
run-kms:
......@@ -26,12 +26,6 @@ lint-fix:
-v ~/.cache/golangci-lint:/.cache/golangci-lint -e GOLANGCI_LINT_CACHE=/.cache/golangci-lint \
golangci/golangci-lint:{{ golangci-lint-version }} golangci-lint run --fix
ci-lint:
mkdir -p {{ tools-install-path }}
export GOBIN={{ tools-install-path }}
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s {{ golangci-lint-version }}
./{{ tools-install-path }}/golangci-lint run
generate-plantuml:
echo "Generating PlantUML diagrams if plantUML is installed..."
plantuml -o . api/_Docs/*/**.plantuml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment