Skip to content

Commit 17690b3

Browse files
authored
chore(ci): Add GitHub Actions CI file
1 parent f9987c8 commit 17690b3

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/main.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
on: [push, pull_request]
2+
3+
jobs:
4+
ci:
5+
name: CI
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@master
9+
with:
10+
fetch-depth: 50
11+
- name: Install Rust Stable
12+
run: |
13+
rustc -vV
14+
rustup update stable
15+
rustup default stable
16+
rustc -vV
17+
- name: Run rustfmt
18+
run: cargo fmt -- --check
19+
- name: Run clippy
20+
run: cargo clippy -- -Dwarnings
21+
- name: Run tests
22+
run: cargo test --verbose

0 commit comments

Comments
 (0)