We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b1e2af commit 6bd2ae5Copy full SHA for 6bd2ae5
.github/workflows/main.yml
@@ -0,0 +1,35 @@
1
+name: "Build and Tests"
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
8
+ pull_request:
9
10
11
12
+jobs:
13
+ main:
14
+ name: csaps-rs
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - name: Checkout
18
+ uses: actions/checkout@v2
19
20
+ - name: Install rust toolchain
21
+ uses: actions-rust-lang/setup-rust-toolchain@v1
22
+ with:
23
+ toolchain: stable
24
+ override: true
25
+ components: rustfmt, clippy
26
+ rustflags: "-A warnings"
27
28
+ - name: Check format
29
+ run: cargo fmt --check
30
31
+ - name: Check code
32
+ run: cargo clippy
33
34
+ - name: Run tests
35
+ run: cargo test
.travis.yml
0 commit comments