-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ae1d97a
commit ebd653b
Showing
1 changed file
with
3 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,26 +41,17 @@ jobs: | |
uses: taiki-e/install-action@cargo-llvm-cov | ||
|
||
- name: Rustfmt | ||
uses: actions-rs/[email protected] | ||
with: | ||
command: fmt | ||
args: --all -- --check | ||
run: cargo fmt --all -- --check | ||
|
||
- name: Clippy | ||
uses: actions-rs/[email protected] | ||
with: | ||
command: clippy | ||
args: ${{ matrix.flags }} --all -- -D warnings | ||
run: cargo clippy ${{ matrix.flags }} --all -- -D warnings | ||
|
||
|
||
- name: Tests | ||
run: cargo llvm-cov nextest --all ${{ matrix.flags }} --lcov --output-path lcov.info | ||
|
||
- name: Doctests | ||
uses: actions-rs/[email protected] | ||
with: | ||
command: test | ||
args: --doc ${{ matrix.flags }} | ||
run: cargo test --doc ${{ matrix.flags }} | ||
|
||
- name: Upload coverage | ||
uses: codecov/codecov-action@v3 | ||
|