mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 11:17:32 +00:00
chore(workflow): update github actions (#7508)
This commit is contained in:
2
.github/workflows/codeql.yml
vendored
2
.github/workflows/codeql.yml
vendored
@@ -26,7 +26,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- if: matrix.language == 'go'
|
- if: matrix.language == 'go'
|
||||||
name: Install Go
|
name: Install Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version-file: go.mod
|
go-version-file: go.mod
|
||||||
|
|
||||||
|
6
.github/workflows/compile.yml
vendored
6
.github/workflows/compile.yml
vendored
@@ -35,7 +35,7 @@ jobs:
|
|||||||
-
|
-
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
-
|
-
|
||||||
uses: actions/cache/restore@v3
|
uses: actions/cache/restore@v4
|
||||||
timeout-minutes: 1
|
timeout-minutes: 1
|
||||||
name: restore console
|
name: restore console
|
||||||
with:
|
with:
|
||||||
@@ -43,7 +43,7 @@ jobs:
|
|||||||
key: ${{ inputs.console_cache_key }}
|
key: ${{ inputs.console_cache_key }}
|
||||||
fail-on-cache-miss: true
|
fail-on-cache-miss: true
|
||||||
-
|
-
|
||||||
uses: actions/cache/restore@v3
|
uses: actions/cache/restore@v4
|
||||||
timeout-minutes: 1
|
timeout-minutes: 1
|
||||||
name: restore core
|
name: restore core
|
||||||
with:
|
with:
|
||||||
@@ -51,7 +51,7 @@ jobs:
|
|||||||
key: ${{ inputs.core_cache_key }}
|
key: ${{ inputs.core_cache_key }}
|
||||||
fail-on-cache-miss: true
|
fail-on-cache-miss: true
|
||||||
-
|
-
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: ${{ inputs.go_version }}
|
go-version: ${{ inputs.go_version }}
|
||||||
-
|
-
|
||||||
|
4
.github/workflows/console.yml
vendored
4
.github/workflows/console.yml
vendored
@@ -29,7 +29,7 @@ jobs:
|
|||||||
-
|
-
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
-
|
-
|
||||||
uses: actions/cache/restore@v3
|
uses: actions/cache/restore@v4
|
||||||
timeout-minutes: 1
|
timeout-minutes: 1
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
id: cache
|
id: cache
|
||||||
@@ -46,7 +46,7 @@ jobs:
|
|||||||
version: ${{ inputs.buf_version }}
|
version: ${{ inputs.buf_version }}
|
||||||
-
|
-
|
||||||
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
|
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ inputs.node_version }}
|
node-version: ${{ inputs.node_version }}
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
|
4
.github/workflows/container.yml
vendored
4
.github/workflows/container.yml
vendored
@@ -52,7 +52,7 @@ jobs:
|
|||||||
uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v3
|
||||||
-
|
-
|
||||||
name: Set up Docker Buildx
|
name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v3
|
||||||
with:
|
with:
|
||||||
driver-opts: 'image=moby/buildkit:v0.11.6'
|
driver-opts: 'image=moby/buildkit:v0.11.6'
|
||||||
-
|
-
|
||||||
@@ -145,7 +145,7 @@ jobs:
|
|||||||
path: /tmp/digests
|
path: /tmp/digests
|
||||||
-
|
-
|
||||||
name: Set up Docker Buildx
|
name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v3
|
||||||
with:
|
with:
|
||||||
driver-opts: 'image=moby/buildkit:v0.11.6'
|
driver-opts: 'image=moby/buildkit:v0.11.6'
|
||||||
-
|
-
|
||||||
|
12
.github/workflows/core-test.yml
vendored
12
.github/workflows/core-test.yml
vendored
@@ -40,11 +40,11 @@ jobs:
|
|||||||
-
|
-
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
-
|
-
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: ${{ inputs.go_version }}
|
go-version: ${{ inputs.go_version }}
|
||||||
-
|
-
|
||||||
uses: actions/cache/restore@v3
|
uses: actions/cache/restore@v4
|
||||||
timeout-minutes: 1
|
timeout-minutes: 1
|
||||||
name: restore core
|
name: restore core
|
||||||
id: restore-core
|
id: restore-core
|
||||||
@@ -57,7 +57,7 @@ jobs:
|
|||||||
name: set cache path
|
name: set cache path
|
||||||
run: echo "GO_CACHE_PATH=$(go env GOCACHE)" >> $GITHUB_OUTPUT
|
run: echo "GO_CACHE_PATH=$(go env GOCACHE)" >> $GITHUB_OUTPUT
|
||||||
-
|
-
|
||||||
uses: actions/cache/restore@v3
|
uses: actions/cache/restore@v4
|
||||||
id: cache
|
id: cache
|
||||||
timeout-minutes: 1
|
timeout-minutes: 1
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
@@ -110,11 +110,11 @@ jobs:
|
|||||||
# -
|
# -
|
||||||
# uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
# -
|
# -
|
||||||
# uses: actions/setup-go@v4
|
# uses: actions/setup-go@v5
|
||||||
# with:
|
# with:
|
||||||
# go-version: ${{ inputs.go_version }}
|
# go-version: ${{ inputs.go_version }}
|
||||||
# -
|
# -
|
||||||
# uses: actions/cache/restore@v3
|
# uses: actions/cache/restore@v4
|
||||||
# timeout-minutes: 1
|
# timeout-minutes: 1
|
||||||
# name: restore core
|
# name: restore core
|
||||||
# with:
|
# with:
|
||||||
@@ -126,7 +126,7 @@ jobs:
|
|||||||
# name: set cache path
|
# name: set cache path
|
||||||
# run: echo "GO_CACHE_PATH=$(go env GOCACHE)" >> $GITHUB_OUTPUT
|
# run: echo "GO_CACHE_PATH=$(go env GOCACHE)" >> $GITHUB_OUTPUT
|
||||||
# -
|
# -
|
||||||
# uses: actions/cache/restore@v3
|
# uses: actions/cache/restore@v4
|
||||||
# timeout-minutes: 1
|
# timeout-minutes: 1
|
||||||
# name: restore previous results
|
# name: restore previous results
|
||||||
# cache: id
|
# cache: id
|
||||||
|
6
.github/workflows/core.yml
vendored
6
.github/workflows/core.yml
vendored
@@ -40,7 +40,7 @@ jobs:
|
|||||||
-
|
-
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
-
|
-
|
||||||
uses: actions/cache/restore@v3
|
uses: actions/cache/restore@v4
|
||||||
timeout-minutes: 1
|
timeout-minutes: 1
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
id: cache
|
id: cache
|
||||||
@@ -59,7 +59,7 @@ jobs:
|
|||||||
-
|
-
|
||||||
# node to install sass
|
# node to install sass
|
||||||
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
|
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ inputs.node_version }}
|
node-version: ${{ inputs.node_version }}
|
||||||
-
|
-
|
||||||
@@ -68,7 +68,7 @@ jobs:
|
|||||||
|
|
||||||
-
|
-
|
||||||
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
|
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: ${{ inputs.go_version }}
|
go-version: ${{ inputs.go_version }}
|
||||||
-
|
-
|
||||||
|
4
.github/workflows/e2e.yml
vendored
4
.github/workflows/e2e.yml
vendored
@@ -30,7 +30,7 @@ jobs:
|
|||||||
uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v3
|
||||||
-
|
-
|
||||||
name: Set up Docker Buildx
|
name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v3
|
||||||
with:
|
with:
|
||||||
driver-opts: 'image=moby/buildkit:v0.11.6'
|
driver-opts: 'image=moby/buildkit:v0.11.6'
|
||||||
-
|
-
|
||||||
@@ -40,7 +40,7 @@ jobs:
|
|||||||
ZITADEL_IMAGE=zitadel:local docker compose up --detach --wait
|
ZITADEL_IMAGE=zitadel:local docker compose up --detach --wait
|
||||||
-
|
-
|
||||||
name: Cypress run
|
name: Cypress run
|
||||||
uses: cypress-io/github-action@v5
|
uses: cypress-io/github-action@v6
|
||||||
env:
|
env:
|
||||||
CYPRESS_BASE_URL: http://localhost:8080/ui/console
|
CYPRESS_BASE_URL: http://localhost:8080/ui/console
|
||||||
CYPRESS_WEBHOOK_HANDLER_HOST: host.docker.internal
|
CYPRESS_WEBHOOK_HANDLER_HOST: host.docker.internal
|
||||||
|
2
.github/workflows/issues.yml
vendored
2
.github/workflows/issues.yml
vendored
@@ -35,7 +35,7 @@ jobs:
|
|||||||
# to the issue
|
# to the issue
|
||||||
project-url: https://github.com/orgs/zitadel/projects/2
|
project-url: https://github.com/orgs/zitadel/projects/2
|
||||||
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
|
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
|
||||||
- uses: actions-ecosystem/action-add-labels@v1.1.0
|
- uses: actions-ecosystem/action-add-labels@v1.1.3
|
||||||
if: ${{ github.event_name == 'pull_request_target' && github.actor != 'dependabot[bot]' && !contains(steps.checkUserMember.outputs.teams, 'staff')}}
|
if: ${{ github.event_name == 'pull_request_target' && github.actor != 'dependabot[bot]' && !contains(steps.checkUserMember.outputs.teams, 'staff')}}
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.ADD_TO_PROJECT_PAT }}
|
github_token: ${{ secrets.ADD_TO_PROJECT_PAT }}
|
||||||
|
8
.github/workflows/lint.yml
vendored
8
.github/workflows/lint.yml
vendored
@@ -63,7 +63,7 @@ jobs:
|
|||||||
name: Checkout
|
name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
-
|
-
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ inputs.node_version }}
|
node-version: ${{ inputs.node_version }}
|
||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
@@ -83,11 +83,11 @@ jobs:
|
|||||||
name: Checkout
|
name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
-
|
-
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: ${{ inputs.go_version }}
|
go-version: ${{ inputs.go_version }}
|
||||||
-
|
-
|
||||||
uses: actions/cache/restore@v3
|
uses: actions/cache/restore@v4
|
||||||
timeout-minutes: 1
|
timeout-minutes: 1
|
||||||
name: restore core
|
name: restore core
|
||||||
with:
|
with:
|
||||||
@@ -95,7 +95,7 @@ jobs:
|
|||||||
key: ${{ inputs.core_cache_key }}
|
key: ${{ inputs.core_cache_key }}
|
||||||
fail-on-cache-miss: true
|
fail-on-cache-miss: true
|
||||||
-
|
-
|
||||||
uses: golangci/golangci-lint-action@v3
|
uses: golangci/golangci-lint-action@v4
|
||||||
with:
|
with:
|
||||||
version: ${{ inputs.go_lint_version }}
|
version: ${{ inputs.go_lint_version }}
|
||||||
github-token: ${{ github.token }}
|
github-token: ${{ github.token }}
|
||||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -36,7 +36,7 @@ jobs:
|
|||||||
uses: docker/setup-qemu-action@v3
|
uses: docker/setup-qemu-action@v3
|
||||||
-
|
-
|
||||||
name: Set up Docker Buildx
|
name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v3
|
||||||
-
|
-
|
||||||
name: Login to Docker registry
|
name: Login to Docker registry
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
|
2
.github/workflows/version.yml
vendored
2
.github/workflows/version.yml
vendored
@@ -34,7 +34,7 @@ jobs:
|
|||||||
path: .artifacts
|
path: .artifacts
|
||||||
-
|
-
|
||||||
name: Semantic Release
|
name: Semantic Release
|
||||||
uses: cycjimmy/semantic-release-action@v3
|
uses: cycjimmy/semantic-release-action@v4
|
||||||
id: semantic
|
id: semantic
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
Reference in New Issue
Block a user