diff --git a/.github/workflows/autoupdate.yml b/.github/workflows/autoupdate.yml index 5e3b2cb50f..aa9982f53d 100644 --- a/.github/workflows/autoupdate.yml +++ b/.github/workflows/autoupdate.yml @@ -7,10 +7,10 @@ jobs: auto-update: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v4 - uses: browniebroke/pre-commit-autoupdate-action@main - - uses: peter-evans/create-pull-request@v3 + - uses: peter-evans/create-pull-request@v5 with: token: ${{ secrets.GITHUB_TOKEN }} branch: update/pre-commit-hooks diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 12f679f61e..17280a5ec1 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -19,14 +19,14 @@ jobs: runner: custom-macos steps: - - uses: actions/checkout@v3 - - uses: docker/setup-buildx-action@v2 - - uses: docker/login-action@v2 + - uses: actions/checkout@v4 + - uses: docker/setup-buildx-action@v3 + - uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/build-push-action@v4 + - uses: docker/build-push-action@v5 id: dev with: file: dev/Dockerfile @@ -38,7 +38,7 @@ jobs: mkdir -p digests/dev digest="${{ steps.dev.outputs.digest }}" touch "digests/dev/${digest#sha256:}" - - uses: docker/build-push-action@v4 + - uses: docker/build-push-action@v5 id: prd with: file: dev/Dockerfile @@ -74,8 +74,8 @@ jobs: with: name: digests path: ./digests - - uses: docker/setup-buildx-action@v2 - - uses: docker/login-action@v2 + - uses: docker/setup-buildx-action@v3 + - uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} @@ -91,7 +91,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: docker/login-action@v2 + - uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} diff --git a/.github/workflows/publish-website.yml b/.github/workflows/publish-website.yml index 03d6d32500..f2af4de1fb 100644 --- a/.github/workflows/publish-website.yml +++ b/.github/workflows/publish-website.yml @@ -13,7 +13,7 @@ jobs: changes: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dorny/paths-filter@v2 id: filter with: @@ -29,7 +29,7 @@ jobs: if: ${{ needs.changes.outputs.website == 'true' }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: ${{ env.PYTHON_VERSION }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 636ad28018..91983d43a1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: if: github.ref_type == 'tag' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: denoland/setup-deno@v1 with: deno-version: v${{ env.DENO_VERSION }} @@ -61,7 +61,7 @@ jobs: target: x86_64-pc-windows-msvc suffix: ".exe" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dsherret/rust-toolchain-file@v1 with: targets: ${{ matrix.target }} @@ -91,7 +91,7 @@ jobs: - check-bump runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: abatilo/actions-poetry@v2 with: poetry-version: ${{ env.POETRY_VERSION }} @@ -126,14 +126,14 @@ jobs: - platform: linux/arm64 runner: custom-macos steps: - - uses: actions/checkout@v3 - - uses: docker/setup-buildx-action@v2 - - uses: docker/login-action@v2 + - uses: actions/checkout@v4 + - uses: docker/setup-buildx-action@v3 + - uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/build-push-action@v4 + - uses: docker/build-push-action@v5 id: prd with: file: dev/Dockerfile @@ -161,8 +161,8 @@ jobs: with: name: digests path: /tmp/digests - - uses: docker/setup-buildx-action@v2 - - uses: docker/login-action@v2 + - uses: docker/setup-buildx-action@v3 + - uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} @@ -180,7 +180,7 @@ jobs: - docker runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: denoland/setup-deno@v1 with: deno-version: v${{ env.DENO_VERSION }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7fc71b0989..245dfba71b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,7 +10,7 @@ on: env: PYTHON_VERSION: "3.8" - PROTOC_VERSION: "3.x" + PROTOC_VERSION: "v24.x" POETRY_VERSION: "1.4.1" DENO_BINDGEN_URL: https://deno.land/x/deno_bindgen@0.8.1/cli.ts DENO_VERSION: "1.36.1" @@ -27,7 +27,7 @@ jobs: permissions: pull-requests: read steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dorny/paths-filter@v2 id: filter with: @@ -64,14 +64,14 @@ jobs: test-pre-commit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: ${{ env.PYTHON_VERSION }} - uses: pnpm/action-setup@v2.4.0 with: version: ${{ env.PNPM_VERSION }} - - uses: arduino/setup-protoc@v1 + - uses: arduino/setup-protoc@v2 with: version: ${{ env.PROTOC_VERSION }} repo-token: ${{ secrets.GITHUB_TOKEN }} @@ -94,7 +94,7 @@ jobs: if: ${{ needs.changes.outputs.website == 'true' }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: ${{ env.PYTHON_VERSION }} @@ -129,7 +129,7 @@ jobs: if: ${{ needs.changes.outputs.typegraph == 'true' }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: ${{ env.PYTHON_VERSION }} @@ -157,7 +157,7 @@ jobs: if: ${{ needs.changes.outputs.typegraph == 'true' }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dsherret/rust-toolchain-file@v1 - uses: Swatinem/rust-cache@v2 with: @@ -172,7 +172,7 @@ jobs: if: ${{ needs.changes.outputs.meta-cli == 'true' || needs.changes.outputs.typegraph == 'true' || needs.changes.outputs.typegate == 'true' || needs.changes.outputs.rust == 'true' }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dsherret/rust-toolchain-file@v1 - uses: Swatinem/rust-cache@v2 with: @@ -214,7 +214,7 @@ jobs: #- os: windows-latest # activate: '.venv\Scripts\activate.bat' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dsherret/rust-toolchain-file@v1 - uses: Swatinem/rust-cache@v2 with: @@ -283,7 +283,7 @@ jobs: env: DENO_DIR: deno-dir steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dsherret/rust-toolchain-file@v1 - uses: Swatinem/rust-cache@v2 with: @@ -301,7 +301,7 @@ jobs: - uses: abatilo/actions-poetry@v2 with: poetry-version: ${{ env.POETRY_VERSION }} - - uses: arduino/setup-protoc@v1 + - uses: arduino/setup-protoc@v2 with: version: ${{ env.PROTOC_VERSION }} repo-token: ${{ secrets.GITHUB_TOKEN }} @@ -357,7 +357,7 @@ jobs: if: ${{ needs.changes.outputs.rust == 'true' }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dsherret/rust-toolchain-file@v1 - uses: Swatinem/rust-cache@v2 with: @@ -389,22 +389,22 @@ jobs: if: ${{ needs.changes.outputs.typegate == 'true' }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: docker/setup-buildx-action@v2 + - uses: actions/checkout@v4 + - uses: docker/setup-buildx-action@v3 - uses: scherermichael-oss/action-has-permission@master id: check with: required-permission: write env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - uses: docker/login-action@v2 + - uses: docker/login-action@v3 if: steps.check.outputs.has-permission with: registry: docker.io username: zifeo password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build with cache (internal) - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 if: steps.check.outputs.has-permission with: file: dev/Dockerfile @@ -413,7 +413,7 @@ jobs: cache-from: type=registry,ref=docker.io/zifeo/metatype-cache:ci cache-to: type=registry,ref=docker.io/zifeo/metatype-cache:ci,mode=max - name: Build without cache (external) - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 if: "! steps.check.outputs.has-permission" with: file: dev/Dockerfile diff --git a/dev/lock.yml b/dev/lock.yml index 581bd72ea1..4711f012f5 100644 --- a/dev/lock.yml +++ b/dev/lock.yml @@ -59,7 +59,7 @@ dev: lock: PYTHON_VERSION: '3.8' POETRY_VERSION: 1.4.1 - PROTOC_VERSION: 3.x + PROTOC_VERSION: v24.x RUST_VERSION: 1.70.0 DENO_BINDGEN_URL: 'https://deno.land/x/deno_bindgen@0.8.1/cli.ts' DENO_VERSION: 1.36.1