Skip to content

formatting

formatting #513

Triggered via push December 5, 2024 05:30
Status Failure
Total duration 1m 25s
Artifacts

test.yml

on: push
lint-golangci
33s
lint-golangci
staticcheck
37s
staticcheck
sourcemod-plugin
8s
sourcemod-plugin
backend-test
0s
backend-test
frontend-test
19s
frontend-test
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 7 warnings
lint-golangci: internal/srcds/speedruns_usecase.go#L26
invalid operation: details.Duration / 2 > player.Duration (mismatched types int and time.Duration) (typecheck)
lint-golangci: internal/cmd/serve.go#L39
could not import github.com/leighmacdonald/gbans/internal/srcds (-: # github.com/leighmacdonald/gbans/internal/srcds
lint-golangci: internal/srcds/speedruns_usecase.go#L26
invalid operation: details.Duration / 2 > player.Duration (mismatched types int and time.Duration)) (typecheck)
lint-golangci
issues found
staticcheck: internal/srcds/speedruns_usecase.go#L26
invalid operation: details.Duration / 2 > player.Duration (mismatched types int and time.Duration) (compile)
staticcheck
Process completed with exit code 2.
sourcemod-plugin
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint-golangci
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
staticcheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint-ts
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint-ts: frontend/src/auth.tsx#L12
Fast refresh only works when a file only exports components. Move your React context(s) to a separate file
lint-ts: frontend/src/contexts/NotificationsCtx.tsx#L12
Fast refresh only works when a file only exports components. Move your React context(s) to a separate file
frontend-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636