Skip to content

Commit

Permalink
Update CI workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkantor committed Jun 13, 2020
1 parent b97135e commit 4f589c7
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 22 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/rust.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/validate-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: validate commit

on: [push, pull_request]

env:
CARGO_TERM_COLOR: always

jobs:

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: cargo test --verbose

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: cargo clippy -- -D warnings

format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: cargo fmt --all -- --check

0 comments on commit 4f589c7

Please sign in to comment.