Skip to content

Commit

Permalink
Merge pull request #176 from lack/lint_workspace_fix
Browse files Browse the repository at this point in the history
Final cleanup for removal of the go workspace configuration
  • Loading branch information
openshift-merge-bot[bot] authored Feb 14, 2025
2 parents 54d3dd3 + 2735443 commit afa9416
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@ commits focussed (`git add -p` will help with this).

We use go module vendoring to ensure all required modules are available for
build. If a change you are adding requires adding a new go module, add the go
module and the result of running `go work vendor` to add the new module and its
module and the result of running `go mod vendor` to add the new module and its
code in an initial commit, with the related code changes in a following commit.
2 changes: 1 addition & 1 deletion hack/golangci-lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ fi
export GOCACHE=/tmp/
export GOLANGCI_LINT_CACHE=/tmp/.cache
"${golangci_lint}" version
"${golangci_lint}" run --verbose --print-resources-usage $(go work edit --json | grep DiskPath | awk '{print $2"/..."}' | tr -d '"' | tr '\n' ' ')
"${golangci_lint}" run --verbose --print-resources-usage ./...

0 comments on commit afa9416

Please sign in to comment.