Skip to content

Commit

Permalink
Update to rust 1.70 (#8)
Browse files Browse the repository at this point in the history
Update actions

Signed-off-by: Ry Jones <[email protected]>
  • Loading branch information
ryjones authored Jun 10, 2024
1 parent 4848ddb commit 16496e1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/actions/setup-rust/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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
14 changes: 7 additions & 7 deletions .github/workflows/build-cross-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 16496e1

Please sign in to comment.