From fc6da9a76dad9d3791811822844d48382bbb759e Mon Sep 17 00:00:00 2001 From: bytedream Date: Wed, 3 Jan 2024 00:00:00 +0100 Subject: [PATCH] Use latest Rust version in Linux and Mac toolchain --- .github/workflows/ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb7d1964..54da377b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,6 +32,11 @@ jobs: target/ key: ${{ matrix.toolchain }}-cargo-${{ hashFiles('**/Cargo.lock') }} + - name: Setup Rust + uses: dtolnay/rust-toolchain@stable + with: + toolchain: stable + - name: Install cross run: cargo install --force cross @@ -76,6 +81,11 @@ jobs: target/ key: x86_64-apple-darwin-cargo-${{ hashFiles('**/Cargo.lock') }} + - name: Setup Rust + uses: dtolnay/rust-toolchain@stable + with: + toolchain: stable + - name: Build run: cargo build --release --target x86_64-apple-darwin