chore: Add Code Static Analysis GH Workflow #2
run-static-analysis.yml
on: pull_request
static_analysis
1m 15s
Annotations
10 errors and 1 warning
|
static_analysis:
drivers/neo4j/cypher.go#L103
QF1012: Use fmt.Fprintf(...) instead of WriteString(fmt.Sprintf(...)) (staticcheck)
|
|
static_analysis:
drivers/neo4j/batch.go#L271
SA1019: neo4j.Session is deprecated: use SessionWithContext instead. Session will be removed in 6.0. (staticcheck)
|
|
static_analysis:
cypher/models/pgsql/translate/expression.go#L141
QF1004: could use strings.ReplaceAll instead (staticcheck)
|
|
static_analysis:
cypher/frontend/query.go#L213
QF1007: could merge conditional assignment into variable declaration (staticcheck)
|
|
static_analysis:
container/pacmap.go#L134
ST1023: should omit type uint64 from declaration; it will be inferred from the right-hand side (staticcheck)
|
|
static_analysis:
container/pacmap.go#L133
ST1023: should omit type uint64 from declaration; it will be inferred from the right-hand side (staticcheck)
|
|
static_analysis:
cardinality/hyperloglog_bench_test.go#L46
SA6002: argument should be pointer-like to avoid allocations (staticcheck)
|
|
static_analysis:
container/bfs.go#L69
File is not properly formatted (gofmt)
|
|
static_analysis:
cmd/benchmark/main.go#L42
File is not properly formatted (gofmt)
|
|
static_analysis:
algo/reach_test.go#L41
File is not properly formatted (gofmt)
|
|
static_analysis
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-go@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|