Skip to content

Commit

Permalink
Fixed CI
Browse files Browse the repository at this point in the history
  • Loading branch information
kotauskas committed Jun 10, 2020
1 parent 8f0d85f commit 5747857
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 6 deletions.
31 changes: 25 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Rust
name: Build

on:
push:
Expand All @@ -7,11 +7,12 @@ on:
branches: [ master ]

jobs:
check:
name: cargo check and Clippy
clippy_nightly:
name: Clippy check on nightly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout the repository
uses: actions/checkout@v2
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
Expand All @@ -22,11 +23,29 @@ jobs:
# `cargo check` command here will use installed `nightly`
# as it is set as an "override" for current directory

- name: Run cargo check
- name: Run Clippy
uses: actions-rs/cargo@v1
with:
command: check
command: clippy

clippy_stable:
name: Clippy check on stable
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy

# `cargo check` command here will use installed `nightly`
# as it is set as an "override" for current directory

- name: Run Clippy
uses: actions-rs/cargo@v1
with:
command: clippy

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# BigBit
[![Crates.io](https://img.shields.io/crates/v/bigbit)](https://crates.io/crates/bitbit "BigBit on Crates.io")
[![Docs.rs](https://img.shields.io/badge/documentation-docs.rs-informational)](https://docs.rs/bigbit "BigBit on Docs.rs")
[![Build Status](https://github.com/kotauskas/bigbit.rs/workflows/Rust/badge.svg)](https://github.com/kotauskas/bigbit.rs/actions "GitHub Actions page for BigBit")

This is an implementation of the [BigBit standard][BigBitStd], used for representing arbitrarily large numbers and strings in a compact way. The only implementation provided by the author is [a Node.js implementation](https://github.com/bigbit/bigbitjs "BigBit.js on GitHub") — this crate aims to implement the functionality presented there with idiomatic Rust code.

Expand Down
1 change: 1 addition & 0 deletions README.tpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# BigBit
[![Crates.io](https://img.shields.io/crates/v/bigbit)](https://crates.io/crates/bitbit "BigBit on Crates.io")
[![Docs.rs](https://img.shields.io/badge/documentation-docs.rs-informational)](https://docs.rs/bigbit "BigBit on Docs.rs")
[![Build Status](https://github.com/kotauskas/bigbit.rs/workflows/Build/badge.svg)](https://github.com/kotauskas/bigbit.rs/actions "GitHub Actions page for BigBit")

{{readme}}

0 comments on commit 5747857

Please sign in to comment.