parent
2133f8f187
commit
26e5f17664
|
|
@ -35,7 +35,7 @@ jobs:
|
|||
- name: Install Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: 1.73.0
|
||||
toolchain: ${{ vars.RUST_TOOLCHAIN }}
|
||||
|
||||
- name: Sccache cache
|
||||
uses: mozilla-actions/sccache-action@v0.0.3
|
||||
|
|
@ -69,10 +69,8 @@ jobs:
|
|||
include:
|
||||
- os: macos-latest
|
||||
target: aarch64-apple-darwin
|
||||
toolchain: 1.73.0
|
||||
- os: ubuntu-latest
|
||||
target: x86_64-unknown-linux-gnu
|
||||
toolchain: 1.73.0
|
||||
|
||||
env:
|
||||
SCCACHE_GHA_ENABLED: true
|
||||
|
|
@ -88,11 +86,11 @@ jobs:
|
|||
- name: Install Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: ${{ matrix.toolchain }}
|
||||
toolchain: ${{ vars.RUST_TOOLCHAIN }}
|
||||
target: ${{ matrix.target }}
|
||||
components: clippy
|
||||
|
||||
- run: rustup default ${{ matrix.toolchain }}
|
||||
- run: rustup default ${{ vars.RUST_TOOLCHAIN }}
|
||||
|
||||
- name: Sccache cache
|
||||
uses: mozilla-actions/sccache-action@v0.0.3
|
||||
|
|
|
|||
|
|
@ -101,8 +101,7 @@ jobs:
|
|||
labels: ${{ steps.meta.outputs.labels }}
|
||||
cache-from: ${{ steps.cache.outputs.cache-from }}
|
||||
cache-to: ${{ steps.cache.outputs.cache-to }}
|
||||
build-args: |
|
||||
RUST_TOOLCHAIN=1.73.0
|
||||
build-args: RUST_TOOLCHAIN=${{ vars.RUST_TOOLCHAIN }}
|
||||
|
||||
- name: Docker Hub Description
|
||||
uses: peter-evans/dockerhub-description@v3
|
||||
|
|
|
|||
Loading…
Reference in New Issue