-
-
Notifications
You must be signed in to change notification settings - Fork 28
25 lines (25 loc) · 665 Bytes
/
Copy pathmain.yml
File metadata and controls
25 lines (25 loc) · 665 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
- run: cargo install cargo-tarpaulin && cargo tarpaulin --out xml
- uses: codecov/codecov-action@v5
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
components: clippy, rustfmt
- run: cargo fmt --check && cargo clippy --all-targets --all-features
- run: cargo check --all-features
- run: cargo test
name: main
on:
- pull_request
- push