Skip to content

chore: add user id to session cookie #56

chore: add user id to session cookie

chore: add user id to session cookie #56

Triggered via push April 1, 2024 00:28
Status Failure
Total duration 2m 52s
Artifacts

main.yml

on: push
Matrix: Lint
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

12 errors
Test (ubuntu-latest, 1.22.x, ./): internal/handlers/postlogin_test.go#L83
cannot use sessionStore (variable of type *"goth/internal/store/mock".SessionStoreMock) as store.SessionStore value in struct literal: *"goth/internal/store/mock".SessionStoreMock does not implement store.SessionStore (wrong type for method GetUserFromSession)
Test (ubuntu-latest, 1.22.x, ./)
Process completed with exit code 2.
Test (macOS-latest, 1.22.x, ./): internal/handlers/postlogin_test.go#L83
cannot use sessionStore (variable of type *"goth/internal/store/mock".SessionStoreMock) as store.SessionStore value in struct literal: *"goth/internal/store/mock".SessionStoreMock does not implement store.SessionStore (wrong type for method GetUserFromSession)
Test (macOS-latest, 1.22.x, ./)
Process completed with exit code 2.
Lint (ubuntu-latest, 1.22.x, ./)
cannot use sessionStore (variable of type *"goth/internal/store/mock".SessionStoreMock) as store.SessionStore value in struct literal: *"goth/internal/store/mock".SessionStoreMock does not implement store.SessionStore (wrong type for method GetUserFromSession)
Lint (ubuntu-latest, 1.22.x, ./)
Process completed with exit code 2.
Lint (macOS-latest, 1.22.x, ./)
cannot use sessionStore (variable of type *"goth/internal/store/mock".SessionStoreMock) as store.SessionStore value in struct literal: *"goth/internal/store/mock".SessionStoreMock does not implement store.SessionStore (wrong type for method GetUserFromSession)
Lint (macOS-latest, 1.22.x, ./)
Process completed with exit code 2.
Test (windows-latest, 1.22.x, ./): internal/handlers/postlogin_test.go#L83
cannot use sessionStore (variable of type *"goth/internal/store/mock".SessionStoreMock) as store.SessionStore value in struct literal: *"goth/internal/store/mock".SessionStoreMock does not implement store.SessionStore (wrong type for method GetUserFromSession)
Test (windows-latest, 1.22.x, ./)
Process completed with exit code 1.
Lint (windows-latest, 1.22.x, ./)
cannot use sessionStore (variable of type *"goth/internal/store/mock".SessionStoreMock) as store.SessionStore value in struct literal: *"goth/internal/store/mock".SessionStoreMock does not implement store.SessionStore (wrong type for method GetUserFromSession)
Lint (windows-latest, 1.22.x, ./)
Process completed with exit code 1.