mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-02 21:00:55 +00:00
actions: add cargo test
This commit is contained in:
parent
e000ab2919
commit
5edbff02a7
13
.github/workflows/check.yml
vendored
13
.github/workflows/check.yml
vendored
@ -7,7 +7,14 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- run: cargo build --all-features
|
||||
- run: cargo build --target x86_64-unknown-linux-gnu
|
||||
test:
|
||||
name: cargo test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- run: cargo test --target x86_64-unknown-linux-gnu
|
||||
clippy:
|
||||
name: cargo clippy
|
||||
runs-on: ubuntu-latest
|
||||
@ -16,8 +23,8 @@ jobs:
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
components: clippy
|
||||
- run: cargo clippy --all-features
|
||||
rustfmt:
|
||||
- run: cargo clippy --target x86_64-unknown-linux-gnu
|
||||
fmt:
|
||||
name: cargo fmt
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
Loading…
Reference in New Issue
Block a user