Update rust.yml

This commit is contained in:
Alexander Neuhäuser
2025-07-18 14:53:32 +02:00
committed by GitHub
parent a02c38a8e4
commit 5a4a8e5aac

View File

@@ -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: Install rustfmt for nightly
run: rustup component add --toolchain nightly-x86_64-unknown-linux-gnu rustfmt
- name: Build
run: cargo build --verbose