Skip to content

Add a label to the build rule if a go repo target has a replace directive in go.mod #293

Add a label to the build rule if a go repo target has a replace directive in go.mod

Add a label to the build rule if a go repo target has a replace directive in go.mod #293

Re-run triggered June 28, 2024 13:32
Status Failure
Total duration 53s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 4 warnings
lint: sync/integration/syncmod/sync_mod_test.go#L4
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/please-build/puku) (gci)
lint: sync/integration/syncmod/sync_mod_test.go#L8
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/please-build/puku) (gci)
lint: sync/integration/syncmod/sync_mod_test.go#L93
Consider pre-allocating `labels` (prealloc)
lint
issues found
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v2, golangci/golangci-lint-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
lint: sync/sync.go#L25
var-naming: don't use ALL_CAPS in Go names; use CamelCase (revive)