File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 1010 RUNNER=podman
1111endif
1212
13- # if the golangci-lint steps fails with the following error message :
13+ # if the golangci-lint steps fails with one of the following error messages :
1414#
1515# directory prefix . does not contain main module or its selected dependencies
1616#
17+ # failed to initialize build cache at /root/.cache/golangci-lint: mkdir /root/.cache/golangci-lint: permission denied
18+ #
1719# you probably have to fix the SELinux security context for root directory plus your cache
1820#
1921# chcon -Rt svirt_sandbox_file_t .
2022# chcon -Rt svirt_sandbox_file_t ~/.cache/golangci-lint
2123lint :
24+ mkdir -p ~ /.cache/golangci-lint/$(GOLANGCI_LINT_VERSION )
2225 $(RUNNER ) run -t --rm \
2326 -v $(shell pwd) :/app \
2427 -v ~ /.cache/golangci-lint/$(GOLANGCI_LINT_VERSION ) :/root/.cache \
You can’t perform that action at this time.
0 commit comments