diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5229eb11a92..8ec12897668 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,9 @@ concurrency: # If this is enabled it will cancel current running and start latest cancel-in-progress: true +env: + RUST_TOOLCHAIN: 1.73.0 + jobs: tests: runs-on: ubuntu-latest @@ -35,7 +38,7 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: ${{ vars.RUST_TOOLCHAIN }} + toolchain: ${{ env.RUST_TOOLCHAIN }} - name: Sccache cache uses: mozilla-actions/sccache-action@v0.0.3 @@ -86,11 +89,11 @@ jobs: - name: Install Rust uses: actions-rs/toolchain@v1 with: - toolchain: ${{ vars.RUST_TOOLCHAIN }} + toolchain: ${{ env.RUST_TOOLCHAIN }} target: ${{ matrix.target }} components: clippy - - run: rustup default ${{ vars.RUST_TOOLCHAIN }} + - run: rustup default ${{ env.RUST_TOOLCHAIN }} - name: Sccache cache uses: mozilla-actions/sccache-action@v0.0.3 diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 6dfb1969db8..1e7482119d1 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -14,6 +14,9 @@ concurrency: # If this is enabled it will cancel current running and start latest cancel-in-progress: true +env: + RUST_TOOLCHAIN: 1.73.0 + jobs: release-docker: runs-on: ubuntu-latest @@ -101,7 +104,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=${{ vars.RUST_TOOLCHAIN }} + build-args: RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }} - name: Docker Hub Description uses: peter-evans/dockerhub-description@v3