chore(deps): bump golang.org/x/sys from 0.38.0 to 0.41.0#246
Open
dependabot[bot] wants to merge 1 commit intomasterfrom
Open
chore(deps): bump golang.org/x/sys from 0.38.0 to 0.41.0#246dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot[bot] wants to merge 1 commit intomasterfrom
Conversation
✅
|
| Descriptor | Linter | Files | Fixed | Errors | Warnings | Elapsed time |
|---|---|---|---|---|---|---|
| ✅ ACTION | actionlint | 2 | 0 | 0 | 0.05s | |
| jscpd | yes | 22 | no | 2.88s | ||
| golangci-lint | yes | 1 | no | 84.77s | ||
| ✅ GO | revive | yes | no | no | 10.79s | |
| ✅ MARKDOWN | markdownlint | 1 | 0 | 0 | 1.25s | |
| ✅ MARKDOWN | markdown-table-formatter | 1 | 0 | 0 | 0.8s | |
| ✅ REPOSITORY | checkov | yes | no | no | 22.79s | |
| ✅ REPOSITORY | gitleaks | yes | no | no | 0.39s | |
| ✅ REPOSITORY | git_diff | yes | no | no | 0.01s | |
| ✅ REPOSITORY | grype | yes | no | no | 64.94s | |
| ✅ REPOSITORY | secretlint | yes | no | no | 1.02s | |
| ✅ REPOSITORY | syft | yes | no | no | 6.85s | |
| ✅ REPOSITORY | trivy | yes | no | no | 14.11s | |
| ✅ REPOSITORY | trivy-sbom | yes | no | no | 6.09s | |
| ✅ REPOSITORY | trufflehog | yes | no | no | 4.36s | |
| ✅ SPELL | lychee | 5 | 0 | 0 | 0.53s | |
| prettier | 4 | 1 | 2 | 0.85s | ||
| ✅ YAML | v8r | 4 | 0 | 0 | 4.91s | |
| ✅ YAML | yamllint | 4 | 0 | 0 | 0.77s |
Detailed Issues
⚠️ GO / golangci-lint - 1 error
../../..pkg/mesh/service.go:94:14: unlambda: replace `func(shardID, replicaID uint64) statemachine.IStateMachine {
return NewMeshStateMachine(shardID, replicaID)
}` with `NewMeshStateMachine` (gocritic)
createSM := func(shardID, replicaID uint64) statemachine.IStateMachine {
^
../../..pkg/laws/user.go:166:2: QF1003: could use tagged switch on facts.Facts.Distro.Family (staticcheck)
if facts.Facts.Distro.Family == "alpine" {
^
2 issues:
* gocritic: 1
* staticcheck: 1
⚠️ COPYPASTE / jscpd - 22 errors
Clone found (go):
- pkg/mesh/http.go [124:16 - 151:8] (27 lines, 275 tokens)
pkg/mesh/http.go [86:14 - 113:7]
Clone found (go):
- pkg/mesh/http.go [201:9 - 216:6] (15 lines, 119 tokens)
pkg/mesh/http.go [177:10 - 192:7]
Clone found (go):
- pkg/mesh/http.go [237:2 - 247:7] (10 lines, 90 tokens)
pkg/mesh/http.go [182:2 - 192:7]
Clone found (go):
- pkg/mesh/http.go [261:13 - 278:8] (17 lines, 138 tokens)
pkg/mesh/http.go [230:11 - 192:7]
Clone found (go):
- pkg/laws/ssh.go [99:3 - 110:2] (11 lines, 131 tokens)
pkg/laws/ssh.go [70:4 - 82:7]
Clone found (go):
- pkg/laws/service.go [175:5 - 180:4] (5 lines, 77 tokens)
pkg/laws/service.go [156:7 - 161:4]
Clone found (go):
- pkg/laws/pkgrepo.go [65:28 - 74:2] (9 lines, 88 tokens)
pkg/laws/script.go [73:23 - 82:2]
Clone found (go):
- pkg/laws/file.go [135:27 - 143:17] (8 lines, 82 tokens)
pkg/laws/script.go [73:23 - 81:5]
Clone found (go):
- pkg/laws/file.go [286:2 - 316:8] (30 lines, 378 tokens)
pkg/laws/file.go [135:2 - 165:23]
Clone found (go):
- pkg/laws/file.go [318:3 - 324:5] (6 lines, 92 tokens)
pkg/laws/file.go [172:3 - 178:22]
Clone found (go):
- pkg/laws/file.go [412:2 - 422:4] (10 lines, 97 tokens)
pkg/laws/file.go [362:2 - 372:6]
Clone found (go):
- pkg/laws/file.go [445:3 - 464:7] (19 lines, 222 tokens)
pkg/laws/file.go [394:3 - 412:3]
Clone found (go):
- pkg/laws/file.go [472:2 - 510:9] (38 lines, 478 tokens)
pkg/laws/file.go [135:2 - 324:13]
Clone found (go):
- pkg/laws/file.go [550:2 - 563:89] (13 lines, 120 tokens)
pkg/laws/file.go [363:3 - 425:3]
Clone found (go):
- pkg/laws/file.go [580:5 - 602:7] (22 lines, 259 tokens)
pkg/laws/file.go [440:5 - 411:2]
Clone found (go):
- pkg/laws/container.go [90:26 - 99:4] (9 lines, 88 tokens)
pkg/laws/script.go [73:23 - 82:2]
Clone found (go):
- cmd/mesh-commands.go [51:38 - 62:6] (11 lines, 113 tokens)
cmd/mesh-commands.go [23:80 - 34:7]
Clone found (go):
- cmd/mesh-commands.go [173:17 - 179:22] (6 lines, 81 tokens)
cmd/mesh-commands.go [124:16 - 130:28]
Clone found (go):
- cmd/mesh-commands.go [179:22 - 192:14] (13 lines, 82 tokens)
cmd/mesh-commands.go [130:28 - 143:14]
Clone found (go):
- cmd/mesh-commands.go [227:17 - 233:23] (6 lines, 81 tokens)
cmd/mesh-commands.go [124:16 - 130:28]
Clone found (go):
- cmd/local-lint.go [48:3 - 62:4] (14 lines, 135 tokens)
cmd/local-pretend.go [48:3 - 62:4]
Clone found (go):
- cmd/local-apply.go [48:18 - 63:2] (15 lines, 117 tokens)
cmd/local-pretend.go [49:12 - 63:4]
┌────────┬────────────────┬─────────────┬──────────────┬──────────────┬──────────────────┬───────────────────┐
│ Format │ Files analyzed │ Total lines │ Total tokens │ Clones found │ Duplicated lines │ Duplicated tokens │
├────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ go │ 32 │ 5800 │ 41700 │ 22 │ 314 (5.41%) │ 3343 (8.02%) │
├────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ Total: │ 32 │ 5800 │ 41700 │ 22 │ 314 (5.41%) │ 3343 (8.02%) │
└────────┴────────────────┴─────────────┴──────────────┴──────────────┴──────────────────┴───────────────────┘
Found 22 clones.
HTML report saved to megalinter-reports/copy-paste/html/
ERROR: jscpd found too many duplicates (5.41%) over threshold (0%)
Error: ERROR: jscpd found too many duplicates (5.41%) over threshold (0%)
at ThresholdReporter.report (/node-deps/node_modules/@jscpd/finder/dist/index.js:612:13)
at /node-deps/node_modules/@jscpd/finder/dist/index.js:110:18
at Array.forEach (<anonymous>)
at /node-deps/node_modules/@jscpd/finder/dist/index.js:109:22
at async /node-deps/node_modules/jscpd/dist/jscpd.js:351:5
⚠️ YAML / prettier - 1 error
Checking formatting...
[warn] .github/workflows/megalinter.yaml
[warn] Code style issues found in the above file. Run Prettier with --write to fix.
See detailed reports in MegaLinter artifacts
Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)
- Documentation: Custom Flavors
- Command:
npx mega-linter-runner@9.3.0 --custom-flavor-setup --custom-flavor-linters ACTION_ACTIONLINT,COPYPASTE_JSCPD,GO_GOLANGCI_LINT,GO_REVIVE,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_CHECKOV,REPOSITORY_GIT_DIFF,REPOSITORY_GITLEAKS,REPOSITORY_GRYPE,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,SPELL_LYCHEE,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.38.0 to 0.41.0. - [Commits](golang/sys@v0.38.0...v0.41.0) --- updated-dependencies: - dependency-name: golang.org/x/sys dependency-version: 0.41.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
649af03 to
24443f1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Bumps golang.org/x/sys from 0.38.0 to 0.41.0.
Commits
fc646e4cpu: use IsProcessorFeaturePresent to calculate ARM64 on windowsf11c7bbwindows: add IsProcessorFeaturePresent and processor feature constsd25a7aaunix: add IoctlSetString on all platforms6fb913bunix: return early on error in Recvmsg2f44229sys/cpu: add symbolic constants for remaining cpuid bitse5770d2sys/cpu: use symbolic names for masks714a44csys/cpu: modify x86 port to match what internal/cpu does08e5482unix: fix out of bounds memory access in tests4f4f1c6Revert "cpu: add HPDS, LOR, PAN detection for arm64"ca63116unix: add IOCTL_MEI_* constantsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)