Use common workflow #742
go.yml
on: pull_request
common
/
Static Analysis
1m 6s
Matrix: common / Build and Test
Annotations
10 errors and 4 warnings
common / Static Analysis:
pkg/indent/indent_test.go#L144
parameter 'buf' seems to be unused, consider removing or renaming it as _
|
common / Static Analysis:
pkg/yang/lex_test.go#L298
this block is empty, you can remove it
|
common / Static Analysis:
pkg/yang/ast_test.go#L243
don't use underscores in Go names; var old_aliases should be oldAliases
|
common / Static Analysis:
pkg/yang/ast_test.go#L179
receiver name m should be consistent with previous receiver name s for ReqNode
|
common / Static Analysis:
pkg/yang/lex.go#L231
redefinition of the built-in type rune
|
common / Static Analysis:
pkg/yang/lex_test.go#L38
exported func T returns unexported type *yang.token, which can be annoying to use
|
common / Static Analysis:
pkg/yang/yang.go#L37
exported method Value.Kind should have comment or be unexported
|
common / Static Analysis:
pkg/yang/lex.go#L244
redefinition of the built-in type rune
|
common / Static Analysis:
pkg/yang/yang.go#L38
exported method Value.ParentNode should have comment or be unexported
|
common / Static Analysis:
pkg/yang/yang.go#L39
exported method Value.NName should have comment or be unexported
|
common / Build and Test (1.19)
Restore cache failed: Dependencies file is not found in /home/runner/work/goyang/goyang. Supported file pattern: go.sum
|
common / Build and Test (1.x)
Restore cache failed: Dependencies file is not found in /home/runner/work/goyang/goyang. Supported file pattern: go.sum
|
common / Build and Test (1.20)
Restore cache failed: Dependencies file is not found in /home/runner/work/goyang/goyang. Supported file pattern: go.sum
|
common / Static Analysis
Restore cache failed: Dependencies file is not found in /home/runner/work/goyang/goyang. Supported file pattern: go.sum
|