chore(workflow): update github actions (#7508)

This commit is contained in:
Livio Spring 2024-03-07 16:38:38 +01:00 committed by GitHub
parent 89a3ffa6fd
commit 98bd355ce2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
11 changed files with 26 additions and 26 deletions

View File

@ -26,7 +26,7 @@ jobs:
uses: actions/checkout@v4
- if: matrix.language == 'go'
name: Install Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version-file: go.mod

View File

@ -35,7 +35,7 @@ jobs:
-
uses: actions/checkout@v3
-
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
timeout-minutes: 1
name: restore console
with:
@ -43,7 +43,7 @@ jobs:
key: ${{ inputs.console_cache_key }}
fail-on-cache-miss: true
-
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
timeout-minutes: 1
name: restore core
with:
@ -51,7 +51,7 @@ jobs:
key: ${{ inputs.core_cache_key }}
fail-on-cache-miss: true
-
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ inputs.go_version }}
-

View File

@ -29,7 +29,7 @@ jobs:
-
uses: actions/checkout@v3
-
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
timeout-minutes: 1
continue-on-error: true
id: cache
@ -46,7 +46,7 @@ jobs:
version: ${{ inputs.buf_version }}
-
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node_version }}
cache: 'yarn'

View File

@ -52,7 +52,7 @@ jobs:
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
with:
driver-opts: 'image=moby/buildkit:v0.11.6'
-
@ -145,7 +145,7 @@ jobs:
path: /tmp/digests
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
with:
driver-opts: 'image=moby/buildkit:v0.11.6'
-

View File

@ -40,11 +40,11 @@ jobs:
-
uses: actions/checkout@v3
-
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ inputs.go_version }}
-
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
timeout-minutes: 1
name: restore core
id: restore-core
@ -57,7 +57,7 @@ jobs:
name: set cache path
run: echo "GO_CACHE_PATH=$(go env GOCACHE)" >> $GITHUB_OUTPUT
-
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache
timeout-minutes: 1
continue-on-error: true
@ -110,11 +110,11 @@ jobs:
# -
# uses: actions/checkout@v3
# -
# uses: actions/setup-go@v4
# uses: actions/setup-go@v5
# with:
# go-version: ${{ inputs.go_version }}
# -
# uses: actions/cache/restore@v3
# uses: actions/cache/restore@v4
# timeout-minutes: 1
# name: restore core
# with:
@ -126,7 +126,7 @@ jobs:
# name: set cache path
# run: echo "GO_CACHE_PATH=$(go env GOCACHE)" >> $GITHUB_OUTPUT
# -
# uses: actions/cache/restore@v3
# uses: actions/cache/restore@v4
# timeout-minutes: 1
# name: restore previous results
# cache: id

View File

@ -40,7 +40,7 @@ jobs:
-
uses: actions/checkout@v3
-
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
timeout-minutes: 1
continue-on-error: true
id: cache
@ -59,7 +59,7 @@ jobs:
-
# node to install sass
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node_version }}
-
@ -68,7 +68,7 @@ jobs:
-
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ inputs.go_version }}
-

View File

@ -30,7 +30,7 @@ jobs:
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
with:
driver-opts: 'image=moby/buildkit:v0.11.6'
-
@ -40,7 +40,7 @@ jobs:
ZITADEL_IMAGE=zitadel:local docker compose up --detach --wait
-
name: Cypress run
uses: cypress-io/github-action@v5
uses: cypress-io/github-action@v6
env:
CYPRESS_BASE_URL: http://localhost:8080/ui/console
CYPRESS_WEBHOOK_HANDLER_HOST: host.docker.internal

View File

@ -35,7 +35,7 @@ jobs:
# to the issue
project-url: https://github.com/orgs/zitadel/projects/2
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')}}
with:
github_token: ${{ secrets.ADD_TO_PROJECT_PAT }}

View File

@ -63,7 +63,7 @@ jobs:
name: Checkout
uses: actions/checkout@v3
-
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node_version }}
cache: 'yarn'
@ -83,11 +83,11 @@ jobs:
name: Checkout
uses: actions/checkout@v3
-
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ inputs.go_version }}
-
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
timeout-minutes: 1
name: restore core
with:
@ -95,7 +95,7 @@ jobs:
key: ${{ inputs.core_cache_key }}
fail-on-cache-miss: true
-
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v4
with:
version: ${{ inputs.go_lint_version }}
github-token: ${{ github.token }}

View File

@ -36,7 +36,7 @@ jobs:
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
-
name: Login to Docker registry
uses: docker/login-action@v2

View File

@ -34,7 +34,7 @@ jobs:
path: .artifacts
-
name: Semantic Release
uses: cycjimmy/semantic-release-action@v3
uses: cycjimmy/semantic-release-action@v4
id: semantic
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}