Add all 16 *_by_lua_block and 9 *_by_lua directives to crossplane #194
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
cicd.yml
on: pull_request
Linting
19s
Unit Tests
0s
Annotations
7 errors and 2 warnings
Linting:
lex.go#L332
cognitive complexity 84 of func `(*LuaLexer).Lex` is high (> 30) (gocognit)
|
Linting:
lex.go#L454
line is 153 characters (lll)
|
Linting:
lex.go#L394
unnecessary trailing newline (whitespace)
|
Linting:
lex_test.go#L528
Error return value of `encoding/json.MarshalIndent` is not checked: unsafe type `error` found (errchkjson)
|
Linting:
lex.go#L55
interface method Register must have named param for type LexScanner (inamedparam)
|
Linting:
lex.go#L93
Function name: tokenize, Cyclomatic Complexity: 49, Halstead Volume: 4380.73, Maintainability Index: 17 (maintidx)
|
Linting
issues found
|
Linting
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Linting:
lex_test.go#L517
unused-parameter: parameter 'path' seems to be unused, consider removing or renaming it as _ (revive)
|