diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2ade68e23..a84650514 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,7 @@ env: REGISTRY: docker.pkg.github.com IMAGE: zitadel NODE_VERSION: '12' - GO_VERSION: '^1.14.1' + GO_VERSION: '1.14' jobs: diff --git a/internal/api/authz/context_mock.go b/internal/api/authz/context_mock.go index cdc12070e..86eacfd53 100644 --- a/internal/api/authz/context_mock.go +++ b/internal/api/authz/context_mock.go @@ -3,5 +3,5 @@ package authz import "context" func NewMockContext(orgID, userID string) context.Context { - return context.WithValue(nil, dataKey, CtxData{UserID: userID, OrgID: orgID}) + return context.WithValue(context.Background(), dataKey, CtxData{UserID: userID, OrgID: orgID}) }