Skip to content

Bump github.com/gofiber/fiber/v2 from 2.40.0 to 2.52.4 #164

Bump github.com/gofiber/fiber/v2 from 2.40.0 to 2.52.4

Bump github.com/gofiber/fiber/v2 from 2.40.0 to 2.52.4 #164

Triggered via pull request March 27, 2024 13:47
Status Failure
Total duration 42s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
lint: src/internal/pkg/handlers/check.go#L1
: # github.com/MarvinJWendt/traefik-guardian/src/internal/pkg/handlers
lint: src/internal/pkg/handlers/check.go#L20
invalid operation: ctx.GetReqHeaders()["Guardian-Password"] != "" (mismatched types []string and untyped string)
lint: src/internal/pkg/handlers/check.go#L21
cannot use ctx.GetReqHeaders()["Guardian-Password"] (map index expression of type []string) as type string in argument to auth.CheckPassword (typecheck)
lint: src/cmd/app.go#L19
could not import github.com/MarvinJWendt/traefik-guardian/src/internal/pkg/handlers (-: # github.com/MarvinJWendt/traefik-guardian/src/internal/pkg/handlers
lint: src/internal/pkg/handlers/check.go#L20
invalid operation: ctx.GetReqHeaders()["Guardian-Password"] != "" (mismatched types []string and untyped string)
lint: src/internal/pkg/handlers/check.go#L21
cannot use ctx.GetReqHeaders()["Guardian-Password"] (map index expression of type []string) as type string in argument to auth.CheckPassword) (typecheck)
lint: src/internal/middleware/fiberlog/fiberlog.go#L4
import 'github.com/gofiber/fiber/v2' is not allowed from list 'Main' (depguard)
lint: src/internal/middleware/fiberlog/fiberlog.go#L5
import 'github.com/sirupsen/logrus' is not allowed from list 'Main' (depguard)
lint: src/internal/pkg/config/config.go#L3
import 'github.com/sirupsen/logrus' is not allowed from list 'Main' (depguard)
lint: src/internal/pkg/config/validation.go#L8
import 'github.com/MarvinJWendt/traefik-guardian/src/internal/pkg/secure' is not allowed from list 'Main' (depguard)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v2, 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/.
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint: src/internal/pkg/config/validation.go#L57
unused-parameter: parameter 'v' seems to be unused, consider removing or renaming it as _ (revive)