Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ithinuel committed Jul 1, 2020
1 parent f1ccc0a commit 4928dc5
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,20 @@ env:
CARGO_TERM_COLOR: always

jobs:
build:
test:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- run: rustup component add clippy fmt
- name: Check fmt
run: cargo fmt -- --check
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
- name: Build
run: cargo build --verbose
run: cargo build
- name: Run tests
run: cargo test --verbose
run: cargo test

0 comments on commit 4928dc5

Please sign in to comment.