Skip to content

Commit fca2a2b

Browse files
zakcutnermarmeladema
authored andcommitted
Add actions workflow
1 parent 160de62 commit fca2a2b

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

.github/workflows/check.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Check
2+
on: push
3+
jobs:
4+
cargo:
5+
name: Cargo
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v2
9+
- uses: actions-rs/toolchain@v1
10+
with:
11+
components: clippy, rustfmt
12+
default: true
13+
- run: cargo fmt -- --check
14+
- run: cargo build --all-targets --all-features
15+
- run: cargo clippy --all-targets --all-features -- -D warnings
16+
- run: cargo test --all-features

rust-toolchain

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
stable

0 commit comments

Comments
 (0)