-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New Github Actions CI, remove Travis
- Loading branch information
1 parent
9e57640
commit b93b1d3
Showing
3 changed files
with
11 additions
and
16 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 |
---|---|---|
@@ -1,15 +1,19 @@ | ||
name: Rust | ||
|
||
on: [push] | ||
on: | ||
- pull_request | ||
- push | ||
|
||
jobs: | ||
build: | ||
test: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Build | ||
run: cargo build --verbose | ||
- name: Run tests | ||
run: cargo test --verbose | ||
- uses: actions/checkout@v2 | ||
- run: rustup component add rustfmt | ||
- run: cargo fmt --all -- --check | ||
- run: rustup component add clippy | ||
- run: cargo clippy --all-targets --all-features -- -D warnings | ||
- run: cargo build --verbose | ||
- run: cargo test --verbose |
This file was deleted.
Oops, something went wrong.
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