Add the cleanupexamples tool #503
ci.yml
on: pull_request
detect-noop
6s
lint
4m 5s
check-diff
2m 41s
unit-tests
3m 44s
publish-artifacts
9m 29s
Annotations
7 errors and 8 warnings
lint:
cmd/cleanup/main.go#L19
wrapperFunc: use bytes.ReplaceAll method in `bytes.Replace(yamlData, []byte("${Rand.RFC1123Subdomain}"), []byte("random"), -1)` (gocritic)
|
lint:
cmd/cleanup/main.go#L73
cyclomatic complexity 12 of func `processDirectory` is high (> 10) (gocyclo)
|
lint:
cmd/cleanup/main.go#L18
cyclomatic complexity 11 of func `processYAML` is high (> 10) (gocyclo)
|
lint:
cmd/cleanup/main.go#L88
G301: Expect directory permissions to be 0750 or less (gosec)
|
lint:
cmd/cleanup/main.go#L98
G304: Potential file inclusion via variable (gosec)
|
lint:
cmd/cleanup/main.go#L114
G306: Expect WriteFile permissions to be 0600 or less (gosec)
|
lint
issues found
|
detect-noop
The following actions use a deprecated Node.js version and will be forced to run on node20: fkirc/skip-duplicate-actions@12aca0a884f6137d619d6a8a09fcc3406ced5281. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
check-diff
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568, actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
unit-tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568, actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84, codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568, actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84, golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint:
cmd/cleanup/main.go#L24
var-declaration: should omit type bool from declaration of var first; it will be inferred from the right-hand side (revive)
|
lint:
cmd/cleanup/main.go#L1
package-comments: should have a package comment (revive)
|
publish-artifacts
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7, docker/setup-buildx-action@885d1462b80bc1c1c7f0b00334ad271f09369c55, actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568, actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84, actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "output".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
output
Expired
|
520 MB |
|