Skip to content

chore: modernize code #1285

chore: modernize code

chore: modernize code #1285

Triggered via pull request December 22, 2024 01:01
@jkroepkejkroepke
synchronize #378
refactor
Status Failure
Total duration 35s
Artifacts

ci.yaml

on: pull_request
Publish package
0s
Publish package
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: internal/utils/testutils/socket_unix.go#L30
cannot use 0 (untyped int constant) as string value in return statement (typecheck)
lint: cmd/daemon/full_test.go#L18
could not import github.com/jkroepke/openvpn-auth-oauth2/internal/utils/testutils (-: # github.com/jkroepke/openvpn-auth-oauth2/internal/utils/testutils
lint: internal/utils/testutils/socket_unix.go#L30
cannot use 0 (untyped int constant) as string value in return statement) (typecheck)
lint: internal/internal_test.go#L15
could not import github.com/jkroepke/openvpn-auth-oauth2/internal/utils/testutils (-: # github.com/jkroepke/openvpn-auth-oauth2/internal/utils/testutils
lint: internal/utils/testutils/socket_unix.go#L30
cannot use 0 (untyped int constant) as string value in return statement) (typecheck)
lint: internal/config/flags_test.go#L12
could not import github.com/jkroepke/openvpn-auth-oauth2/internal/utils/testutils (-: # github.com/jkroepke/openvpn-auth-oauth2/internal/utils/testutils
lint: internal/utils/testutils/socket_unix.go#L30
cannot use 0 (untyped int constant) as string value in return statement) (typecheck)
lint
issues found
Build & Test: internal/utils/testutils/socket_unix.go#L30
cannot use 0 (untyped int constant) as string value in return statement
Build & Test
Process completed with exit code 1.
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build & Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636