Skip to content

Commit

Permalink
chore(ci): Add GitHub Actions CI file
Browse files Browse the repository at this point in the history
  • Loading branch information
komaeda authored Aug 21, 2019
1 parent f9987c8 commit 17690b3
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
on: [push, pull_request]

jobs:
ci:
name: CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 50
- name: Install Rust Stable
run: |
rustc -vV
rustup update stable
rustup default stable
rustc -vV
- name: Run rustfmt
run: cargo fmt -- --check
- name: Run clippy
run: cargo clippy -- -Dwarnings
- name: Run tests
run: cargo test --verbose

0 comments on commit 17690b3

Please sign in to comment.