mirror of
https://github.com/zitadel/zitadel.git
synced 2025-04-22 22:41:31 +00:00
chore: updating go to 1.24 (#9507)
# Which Problems Are Solved Updating go to 1.24 --------- Co-authored-by: Iraq Jaber <IraqJaber@gmail.com>
This commit is contained in:
parent
e7c7f9b800
commit
596970cc7e
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -25,7 +25,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node_version: "20"
|
node_version: "20"
|
||||||
buf_version: "latest"
|
buf_version: "latest"
|
||||||
go_version: "1.23"
|
|
||||||
|
|
||||||
console:
|
console:
|
||||||
uses: ./.github/workflows/console.yml
|
uses: ./.github/workflows/console.yml
|
||||||
@ -43,7 +42,6 @@ jobs:
|
|||||||
needs: [core, console, version]
|
needs: [core, console, version]
|
||||||
uses: ./.github/workflows/compile.yml
|
uses: ./.github/workflows/compile.yml
|
||||||
with:
|
with:
|
||||||
go_version: "1.23"
|
|
||||||
core_cache_key: ${{ needs.core.outputs.cache_key }}
|
core_cache_key: ${{ needs.core.outputs.cache_key }}
|
||||||
console_cache_key: ${{ needs.console.outputs.cache_key }}
|
console_cache_key: ${{ needs.console.outputs.cache_key }}
|
||||||
core_cache_path: ${{ needs.core.outputs.cache_path }}
|
core_cache_path: ${{ needs.core.outputs.cache_path }}
|
||||||
@ -54,7 +52,6 @@ jobs:
|
|||||||
needs: core
|
needs: core
|
||||||
uses: ./.github/workflows/core-unit-test.yml
|
uses: ./.github/workflows/core-unit-test.yml
|
||||||
with:
|
with:
|
||||||
go_version: "1.23"
|
|
||||||
core_cache_key: ${{ needs.core.outputs.cache_key }}
|
core_cache_key: ${{ needs.core.outputs.cache_key }}
|
||||||
core_cache_path: ${{ needs.core.outputs.cache_path }}
|
core_cache_path: ${{ needs.core.outputs.cache_path }}
|
||||||
secrets:
|
secrets:
|
||||||
@ -64,7 +61,6 @@ jobs:
|
|||||||
needs: core
|
needs: core
|
||||||
uses: ./.github/workflows/core-integration-test.yml
|
uses: ./.github/workflows/core-integration-test.yml
|
||||||
with:
|
with:
|
||||||
go_version: "1.23"
|
|
||||||
core_cache_key: ${{ needs.core.outputs.cache_key }}
|
core_cache_key: ${{ needs.core.outputs.cache_key }}
|
||||||
core_cache_path: ${{ needs.core.outputs.cache_path }}
|
core_cache_path: ${{ needs.core.outputs.cache_path }}
|
||||||
secrets:
|
secrets:
|
||||||
@ -74,7 +70,6 @@ jobs:
|
|||||||
needs: [core, console]
|
needs: [core, console]
|
||||||
uses: ./.github/workflows/lint.yml
|
uses: ./.github/workflows/lint.yml
|
||||||
with:
|
with:
|
||||||
go_version: "1.23"
|
|
||||||
node_version: "18"
|
node_version: "18"
|
||||||
buf_version: "latest"
|
buf_version: "latest"
|
||||||
go_lint_version: "v1.62.2"
|
go_lint_version: "v1.62.2"
|
||||||
|
5
.github/workflows/compile.yml
vendored
5
.github/workflows/compile.yml
vendored
@ -3,9 +3,6 @@ name: Compile
|
|||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
inputs:
|
||||||
go_version:
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
core_cache_key:
|
core_cache_key:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
@ -53,7 +50,7 @@ jobs:
|
|||||||
-
|
-
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: ${{ inputs.go_version }}
|
go-version-file: 'go.mod'
|
||||||
-
|
-
|
||||||
name: compile
|
name: compile
|
||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
|
5
.github/workflows/core-integration-test.yml
vendored
5
.github/workflows/core-integration-test.yml
vendored
@ -3,9 +3,6 @@ name: Integration test core
|
|||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
inputs:
|
||||||
go_version:
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
core_cache_key:
|
core_cache_key:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
@ -46,7 +43,7 @@ jobs:
|
|||||||
-
|
-
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: ${{ inputs.go_version }}
|
go-version-file: 'go.mod'
|
||||||
-
|
-
|
||||||
uses: actions/cache/restore@v4
|
uses: actions/cache/restore@v4
|
||||||
timeout-minutes: 1
|
timeout-minutes: 1
|
||||||
|
5
.github/workflows/core-unit-test.yml
vendored
5
.github/workflows/core-unit-test.yml
vendored
@ -3,9 +3,6 @@ name: Unit test core
|
|||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
inputs:
|
||||||
go_version:
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
core_cache_key:
|
core_cache_key:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
@ -29,7 +26,7 @@ jobs:
|
|||||||
-
|
-
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: ${{ inputs.go_version }}
|
go-version-file: 'go.mod'
|
||||||
-
|
-
|
||||||
uses: actions/cache/restore@v4
|
uses: actions/cache/restore@v4
|
||||||
timeout-minutes: 1
|
timeout-minutes: 1
|
||||||
|
5
.github/workflows/core.yml
vendored
5
.github/workflows/core.yml
vendored
@ -3,9 +3,6 @@ name: Build core
|
|||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
inputs:
|
||||||
go_version:
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
buf_version:
|
buf_version:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
@ -70,7 +67,7 @@ jobs:
|
|||||||
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
|
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: ${{ inputs.go_version }}
|
go-version-file: 'go.mod'
|
||||||
-
|
-
|
||||||
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
|
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
|
||||||
run: make core_build
|
run: make core_build
|
||||||
|
5
.github/workflows/lint.yml
vendored
5
.github/workflows/lint.yml
vendored
@ -6,9 +6,6 @@ on:
|
|||||||
node_version:
|
node_version:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
go_version:
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
buf_version:
|
buf_version:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
@ -85,7 +82,7 @@ jobs:
|
|||||||
-
|
-
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: ${{ inputs.go_version }}
|
go-version-file: 'go.mod'
|
||||||
-
|
-
|
||||||
uses: actions/cache/restore@v4
|
uses: actions/cache/restore@v4
|
||||||
timeout-minutes: 1
|
timeout-minutes: 1
|
||||||
|
2
internal/cache/connector/pg/pg.go
vendored
2
internal/cache/connector/pg/pg.go
vendored
@ -5,12 +5,12 @@ import (
|
|||||||
_ "embed"
|
_ "embed"
|
||||||
"errors"
|
"errors"
|
||||||
"log/slog"
|
"log/slog"
|
||||||
|
"slices"
|
||||||
"strings"
|
"strings"
|
||||||
"text/template"
|
"text/template"
|
||||||
|
|
||||||
"github.com/jackc/pgx/v5"
|
"github.com/jackc/pgx/v5"
|
||||||
"github.com/jackc/pgx/v5/pgconn"
|
"github.com/jackc/pgx/v5/pgconn"
|
||||||
"golang.org/x/exp/slices"
|
|
||||||
|
|
||||||
"github.com/zitadel/zitadel/internal/cache"
|
"github.com/zitadel/zitadel/internal/cache"
|
||||||
"github.com/zitadel/zitadel/internal/telemetry/tracing"
|
"github.com/zitadel/zitadel/internal/telemetry/tracing"
|
||||||
|
@ -4,8 +4,7 @@ import (
|
|||||||
"bytes"
|
"bytes"
|
||||||
"context"
|
"context"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
"slices"
|
||||||
"golang.org/x/exp/slices"
|
|
||||||
|
|
||||||
"github.com/zitadel/zitadel/internal/domain"
|
"github.com/zitadel/zitadel/internal/domain"
|
||||||
"github.com/zitadel/zitadel/internal/eventstore"
|
"github.com/zitadel/zitadel/internal/eventstore"
|
||||||
@ -80,6 +79,7 @@ func (wm *UserSchemaWriteModel) Query() *eventstore.SearchQueryBuilder {
|
|||||||
|
|
||||||
return query.Builder()
|
return query.Builder()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (wm *UserSchemaWriteModel) NewUpdatedEvent(
|
func (wm *UserSchemaWriteModel) NewUpdatedEvent(
|
||||||
ctx context.Context,
|
ctx context.Context,
|
||||||
agg *eventstore.Aggregate,
|
agg *eventstore.Aggregate,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user