Compare commits
9 Commits
1dba1ab298
...
CI
| Author | SHA1 | Date | |
|---|---|---|---|
| b887d2475f | |||
| e98c996874 | |||
| c3444b927a | |||
| fbd9d268bb | |||
| 3a93a3bc90 | |||
| 885115289e | |||
| 8de50fbe7e | |||
| 97230c7b1f | |||
| 9b6658dfe2 |
@@ -10,7 +10,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
# Ensure rustfmt is installed and setup problem matcher
|
# Ensure rustfmt is installed and setup problem matcher
|
||||||
- uses: actions-rust-lang/setup-rust-toolchain
|
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
with:
|
with:
|
||||||
components: rustfmt
|
components: rustfmt
|
||||||
- name: Rustfmt Check
|
- name: Rustfmt Check
|
||||||
@@ -23,7 +23,16 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
# Ensure clippy is installed and setup problem matcher
|
# Ensure clippy is installed and setup problem matcher
|
||||||
- uses: actions-rust-lang/setup-rust-toolchain
|
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
with:
|
with:
|
||||||
components: clippy
|
components: clippy
|
||||||
- run: cargo clippy -- -D warnings
|
- run: cargo clippy -- -D warnings
|
||||||
|
|
||||||
|
# Run tests
|
||||||
|
test:
|
||||||
|
name: cargo test
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
|
- run: cargo test
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
name: "Test Suite"
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
pull_request:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
test:
|
|
||||||
name: cargo test
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: actions-rust-lang/setup-rust-toolchain
|
|
||||||
- run: cargo test --all-features
|
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
#![warn(clippy::pedantic)]
|
#![warn(clippy::pedantic)]
|
||||||
// #![allow(clippy::missing_errors_doc)]
|
#![allow(clippy::let_underscore_untyped)] // false positive in stable
|
||||||
|
|
||||||
use std::{
|
use std::{
|
||||||
fmt::Debug,
|
fmt::Debug,
|
||||||
|
|||||||
Reference in New Issue
Block a user