From 5a4a8e5aacaa47c5b2b5914add42bf823da788f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Neuh=C3=A4user?= <27020492+iceHtwoO@users.noreply.github.com> Date: Fri, 18 Jul 2025 14:53:32 +0200 Subject: [PATCH] Update rust.yml --- .github/workflows/rust.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 9b45815..806b6d6 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -14,15 +14,19 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Install rustfmt for nightly + run: rustup component add --toolchain nightly-x86_64-unknown-linux-gnu rustfmt - name: Run format check run: cargo fmt --check - name: Run lint run: cargo clippy - build: + build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - name: Build - run: cargo build --verbose + - uses: actions/checkout@v4 + - name: Install rustfmt for nightly + run: rustup component add --toolchain nightly-x86_64-unknown-linux-gnu rustfmt + - name: Build + run: cargo build --verbose