diff --git a/.forgejo/workflows/rust.yml b/.forgejo/workflows/rust.yml index da9bb71..98724fe 100644 --- a/.forgejo/workflows/rust.yml +++ b/.forgejo/workflows/rust.yml @@ -2,45 +2,10 @@ on: [push, pull_request] name: Continuous integration -jobs: - check: - name: Check - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions-rust-lang/setup-rust-toolchain@v1 - - run: cargo check - +jjobs: test: - name: Test Suite - runs-on: ubuntu-latest + name: cargo test steps: - uses: actions/checkout@v4 - - uses: actions-rust-lang/setup-rust-toolchain@v1 - - run: cargo test - - fmt: - name: Rustfmt - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions-rust-lang/setup-rust-toolchain@v1 - - run: rustup component add rustfmt - - run: cargo fmt --all -- --check - - clippy: - name: Clippy - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions-rust-lang/setup-rust-toolchain@v1 - - run: rustup component add clippy - - run: cargo clippy -- -D warnings - - build: - name: build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions-rust-lang/setup-rust-toolchain@v1 - - run: cargo build \ No newline at end of file + - uses: dtolnay/rust-toolchain@stable + - run: cargo test --all-features \ No newline at end of file