Skip to content

Commit

Permalink
Merge pull request #9 from itsybitesyspider/develop
Browse files Browse the repository at this point in the history
Github actions badge
  • Loading branch information
itsybitesyspider committed Mar 7, 2020
2 parents 777ee06 + be9dcd8 commit 7fc9d9a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml → .github/workflows/tests.yml
@@ -1,4 +1,4 @@
name: Rust
name: Tests

on: [push]

Expand Down
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -3,6 +3,7 @@

[![Crates.io](https://img.shields.io/crates/v/retriever.svg)](https://crates.io/crates/retriever)
[![Docs.rs](https://docs.rs/retriever/badge.svg)](https://docs.rs/retriever/latest/)
[![GitHub Actions](https://github.com/itsybitesyspider/retriever/workflows/Tests/badge.svg)](https://github.com/itsybitesyspider/retriever)

## What is it?

Expand Down
7 changes: 1 addition & 6 deletions bin/build
@@ -1,13 +1,8 @@
#!/usr/bin/env bash
set -e

cargo check --all-features
cargo check --all-features --quiet
cargo doc --all-features
cargo fmt -- --check

cargo readme > .README.md
diff README.md .README.md

cargo build --all-features --quiet

echo -e "\033[1;32mSUCCESS\033[0m"
9 changes: 8 additions & 1 deletion bin/test
Expand Up @@ -17,7 +17,14 @@ cargo test --benches
# Run examples
cargo run --example count_records

# Fail on Warning
# Fail syntax warnings
RUSTFLAGS="${RUSTFLAGS} -D warnings" cargo check --all-features

# Fail on bad cargo fmt
cargo fmt -- --check

# Fail if README isn't up-to-date
cargo readme > .README.md
diff README.md .README.md

echo -e "\033[1;32mSUCCESS\033[0m"
1 change: 1 addition & 0 deletions src/lib.rs
Expand Up @@ -5,6 +5,7 @@
//!
//! [![Crates.io](https://img.shields.io/crates/v/retriever.svg)](https://crates.io/crates/retriever)
//! [![Docs.rs](https://docs.rs/retriever/badge.svg)](https://docs.rs/retriever/latest/)
//! [![GitHub Actions](https://github.com/itsybitesyspider/retriever/workflows/Tests/badge.svg)](https://github.com/itsybitesyspider/retriever)
//!
//! # What is it?
//!
Expand Down

0 comments on commit 7fc9d9a

Please sign in to comment.