-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore(ci): add ci file * chore(clippy): make clippy happy
- Loading branch information
Showing
10 changed files
with
3,069 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
on: [push, pull_request] | ||
|
||
name: Sn os | ||
jobs: | ||
rustfmt: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Rust Toolchain Setup | ||
run: rustup show | ||
- uses: Swatinem/rust-cache@v2 | ||
- name: Check format | ||
run: cargo fmt --all -- --check | ||
clippy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Rust Toolchain Setup | ||
run: rustup show | ||
- uses: Swatinem/rust-cache@v2 | ||
- name: Check lint | ||
run: cargo clippy | ||
tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Rust Toolchain Setup | ||
run: rustup show | ||
- uses: Swatinem/rust-cache@v2 | ||
- name: Run tests | ||
run: cargo test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1 @@ | ||
/target | ||
/Cargo.lock | ||
|
||
build/* | ||
!build/fact.json | ||
!build/.gitkeep |
Oops, something went wrong.