update workflows #52
Annotations
14 errors and 5 warnings
Main Process:
go/src/github.com/packruler/traefik-themepark/themepark.go#L119
avoid allocations with regexp.MatchString (mirror)
|
Main Process:
go/src/github.com/packruler/traefik-themepark/themepark.go#L11
import 'github.com/packruler/rewrite-body/handler' is not allowed from list 'Main' (depguard)
|
Main Process:
go/src/github.com/packruler/traefik-themepark/themepark_test.go#L12
import 'github.com/packruler/rewrite-body/compressutil' is not allowed from list 'Main' (depguard)
|
Main Process:
go/src/github.com/packruler/traefik-themepark/themepark_test.go#L127
printf: non-constant format string in call to fmt.Fprintf (govet)
|
Main Process:
go/src/github.com/packruler/traefik-themepark/themepark.go#L95
fmt.Sprintf can be replaced with string concatenation (perfsprint)
|
Main Process
avoid allocations with regexp.MatchString (mirror)
|
Main Process
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
|
Main Process
var-declaration: should omit type []string from declaration of var bodyBasedAppsList; it will be inferred from the right-hand side (revive)
|
Main Process
var-declaration: should omit type string from declaration of var bodyBasedApps; it will be inferred from the right-hand side (revive)
|
Main Process
import 'github.com/packruler/rewrite-body/handler' is not allowed from list 'Main' (depguard)
|
Main Process
import 'github.com/packruler/rewrite-body/compressutil' is not allowed from list 'Main' (depguard)
|
Main Process
printf: non-constant format string in call to fmt.Fprintf (govet)
|
Main Process
fmt.Sprintf can be replaced with string concatenation (perfsprint)
|
Main Process
Process completed with exit code 2.
|
Main Process
The following actions use a deprecated Node.js version and will be forced to run on node20: golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Main Process
Restore cache failed: Dependencies file is not found in /home/runner/work/traefik-themepark/traefik-themepark. Supported file pattern: go.sum
|
Main Process:
go/src/github.com/packruler/traefik-themepark/themepark_test.go#L121
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
|
Main Process:
go/src/github.com/packruler/traefik-themepark/themepark.go#L103
var-declaration: should omit type []string from declaration of var bodyBasedAppsList; it will be inferred from the right-hand side (revive)
|
Main Process:
go/src/github.com/packruler/traefik-themepark/themepark.go#L116
var-declaration: should omit type string from declaration of var bodyBasedApps; it will be inferred from the right-hand side (revive)
|