Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
costaQuanta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
danet
costaQuanta
Commits
ff0291af
Commit
ff0291af
authored
1 month ago
by
Neil-Jocelyn Schark
Browse files
Options
Downloads
Patches
Plain Diff
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
!19
Resolve "Manually update golangici-lint to v2.1" and remove not used lint job from just
Pipeline
#269211
passed
1 month ago
Stage: prepare
Stage: build
Stage: lint
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
justfile
+1
-7
1 addition, 7 deletions
justfile
with
2 additions
and
8 deletions
.gitlab-ci.yml
+
1
−
1
View file @
ff0291af
...
@@ -36,7 +36,7 @@ lint-api:
...
@@ -36,7 +36,7 @@ lint-api:
lint-go
:
lint-go
:
stage
:
lint
stage
:
lint
image
:
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
:
script
:
-
golangci-lint run
-
golangci-lint run
needs
:
needs
:
...
...
This diff is collapsed.
Click to expand it.
justfile
+
1
−
7
View file @
ff0291af
golangci-lint-version := "v2.1
.1
"
golangci-lint-version := "v2.1"
tools-install-path := "bin"
tools-install-path := "bin"
run-kms:
run-kms:
...
@@ -26,12 +26,6 @@ lint-fix:
...
@@ -26,12 +26,6 @@ lint-fix:
-v ~/.cache/golangci-lint:/.cache/golangci-lint -e GOLANGCI_LINT_CACHE=/.cache/golangci-lint \
-v ~/.cache/golangci-lint:/.cache/golangci-lint -e GOLANGCI_LINT_CACHE=/.cache/golangci-lint \
golangci/golangci-lint:{{ golangci-lint-version }} golangci-lint run --fix
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:
generate-plantuml:
echo "Generating PlantUML diagrams if plantUML is installed..."
echo "Generating PlantUML diagrams if plantUML is installed..."
plantuml -o . api/_Docs/*/**.plantuml
plantuml -o . api/_Docs/*/**.plantuml
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment