File tree Expand file tree Collapse file tree 5 files changed +12
-8
lines changed
Expand file tree Collapse file tree 5 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 1- name : Rust
1+ name : Tests
22
33on : [push]
44
Original file line number Diff line number Diff line change 33
44[ ![ Crates.io] ( https://img.shields.io/crates/v/retriever.svg )] ( https://crates.io/crates/retriever )
55[ ![ Docs.rs] ( https://docs.rs/retriever/badge.svg )] ( https://docs.rs/retriever/latest/ )
6+ [ ![ GitHub Actions] ( https://github.com/itsybitesyspider/retriever/workflows/Tests/badge.svg )] ( https://github.com/itsybitesyspider/retriever )
67
78## What is it?
89
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -e
33
4- cargo check --all-features
4+ cargo check --all-features --quiet
55cargo doc --all-features
6- cargo fmt -- --check
7-
8- cargo readme > .README.md
9- diff README.md .README.md
10-
116cargo build --all-features --quiet
127
138echo -e " \033[1;32mSUCCESS\033[0m"
Original file line number Diff line number Diff line change @@ -17,7 +17,14 @@ cargo test --benches
1717# Run examples
1818cargo run --example count_records
1919
20- # Fail on Warning
20+ # Fail syntax warnings
2121RUSTFLAGS=" ${RUSTFLAGS} -D warnings" cargo check --all-features
2222
23+ # Fail on bad cargo fmt
24+ cargo fmt -- --check
25+
26+ # Fail if README isn't up-to-date
27+ cargo readme > .README.md
28+ diff README.md .README.md
29+
2330echo -e " \033[1;32mSUCCESS\033[0m"
Original file line number Diff line number Diff line change 55//!
66//! [](https://crates.io/crates/retriever)
77//! [](https://docs.rs/retriever/latest/)
8+ //! [](https://github.com/itsybitesyspider/retriever)
89//!
910//! # What is it?
1011//!
You can’t perform that action at this time.
0 commit comments