From 1b39ecb75836d69516c1dcc3fb409ce44107f38c Mon Sep 17 00:00:00 2001 From: Rahix Date: Thu, 16 May 2024 11:52:31 +0200 Subject: [PATCH] ci: Use dtolnay/rust-toolchain --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b8128c0..c5f0ad4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions-rust-lang/setup-rust-toolchain@v1 + - uses: uses: dtolnay/rust-toolchain@stable with: target: thumbv6m-none-eabi - run: cd Firmware-Rust && cargo build @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions-rust-lang/setup-rust-toolchain@v1 + - uses: uses: dtolnay/rust-toolchain@stable with: target: thumbv6m-none-eabi - run: sudo apt-get install -y gcc-arm-none-eabi @@ -34,7 +34,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions-rust-lang/setup-rust-toolchain@v1 + - uses: uses: dtolnay/rust-toolchain@stable with: components: rustfmt - name: Rustfmt for Rust Firmware