Skip to content

Commit

Permalink
Add chrono-fuzz to CI
Browse files Browse the repository at this point in the history
Ensures future changes to break it again.
  • Loading branch information
LingMan authored and djc committed Mar 3, 2023
1 parent 90c7e55 commit d1043f3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@ jobs:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v1
- run: cargo fmt -- --check --color=always
- run: cargo clippy --color=always -- -D warnings -A clippy::manual-non-exhaustive
- run: |
cargo fmt --check -- --color=always
cargo fmt --check --manifest-path fuzz/Cargo.toml
- run: |
cargo clippy --color=always -- -D warnings -A clippy::manual-non-exhaustive
cargo clippy --manifest-path fuzz/Cargo.toml --color=always -- -D warnings
env:
RUSTFLAGS: "-Dwarnings"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:
with:
toolchain: ${{ matrix.rust_version }}
- uses: Swatinem/rust-cache@v1
- run: cargo check --manifest-path fuzz/Cargo.toml --all-targets
# run --lib and --doc to avoid the long running integration tests which are run elsewhere
- run: cargo test --lib --all-features --color=always -- --color=always
- run: cargo test --doc --all-features --color=always -- --color=always
Expand Down

0 comments on commit d1043f3

Please sign in to comment.