From 22bdfc9d87aeb5ec263c394332ea3ea4c7a6145b Mon Sep 17 00:00:00 2001 From: NexVeridian Date: Mon, 25 Aug 2025 16:00:48 -0700 Subject: [PATCH] fix: forgejo action --- .forgejo/workflows/test.yml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index a2bf4f0..b72175c 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -7,15 +7,13 @@ jobs: name: Build and test runs-on: bookworm steps: - - uses: actions/checkout@v2 - - uses: actions-rs/toolchain@v1 + - uses: actions/checkout@v5 + + - uses: https://github.com/dtolnay/rust-toolchain@stable with: toolchain: stable - - uses: actions-rs/cargo@v1 - with: - command: test - args: --all-features - - uses: actions-rs/cargo@v1 - with: - command: fmt - args: -- --check + components: rustfmt, clippy + + - run: cargo fmt --all -- --check + - run: cargo clippy --all-targets --all-features -- -D warnings + - run: cargo test --all-features