From ec2fbdc160d9f523474bb99fcfcf4344c7703ff0 Mon Sep 17 00:00:00 2001 From: Ry Jones Date: Sat, 8 Jun 2024 08:12:41 -0700 Subject: [PATCH] Update to rust 1.70 Update actions Signed-off-by: Ry Jones --- .github/actions/setup-rust/action.yml | 4 ++-- .github/workflows/build-cross-images.yml | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/actions/setup-rust/action.yml b/.github/actions/setup-rust/action.yml index 30c61fd..62c5a63 100644 --- a/.github/actions/setup-rust/action.yml +++ b/.github/actions/setup-rust/action.yml @@ -3,7 +3,7 @@ description: Setup Rust with specified toolchain, target and components. inputs: toolchain: description: 'Toolchain' - default: '1.67.0' + default: '1.70.0' required: true target: description: 'Target' @@ -22,4 +22,4 @@ runs: target: ${{ inputs.target }} components: ${{ inputs.components }} - - uses: Swatinem/rust-cache@v2.2.0 + - uses: Swatinem/rust-cache@v2.7.3 diff --git a/.github/workflows/build-cross-images.yml b/.github/workflows/build-cross-images.yml index 5da223e..897d486 100644 --- a/.github/workflows/build-cross-images.yml +++ b/.github/workflows/build-cross-images.yml @@ -27,8 +27,8 @@ jobs: outputs: matrix: ${{ steps.generate-matrix.outputs.matrix }} steps: - - uses: actions/checkout@v3 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - uses: actions/checkout@v4 with: repository: cross-rs/cross ref: ${{ env.CROSS_REPO_REF }} @@ -62,8 +62,8 @@ jobs: images: ${{ steps.build-docker-image.outputs.images && fromJSON(steps.build-docker-image.outputs.images) }} coverage-artifact: ${{ steps.cov.outputs.artifact-name }} steps: - - uses: actions/checkout@v3 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - uses: actions/checkout@v4 with: repository: cross-rs/cross ref: ${{ env.CROSS_REPO_REF }} @@ -83,7 +83,7 @@ jobs: - name: Set up Docker Buildx if: runner.os == 'Linux' - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Build xtask run: cargo build -p xtask @@ -102,7 +102,7 @@ jobs: - name: Docker Meta if: steps.prepare-meta.outputs.has-image id: docker-meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: | name=ghcr.io/${{ github.repository_owner }}/cross/${{ matrix.target }}:main:main @@ -171,7 +171,7 @@ jobs: - name: Login to GitHub Container Registry if: github.event_name == 'push' && steps.prepare-meta.outputs.has-image - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }}