Use latest Rust version in Linux and Mac toolchain

This commit is contained in:
bytedream 2024-01-03 00:00:00 +01:00
parent 283a3802b2
commit fc6da9a76d

View file

@ -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