We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3426c4 commit acc42f0Copy full SHA for acc42f0
.github/workflows/ci.yml
@@ -0,0 +1,27 @@
1
+name: CI
2
+on:
3
+ push:
4
+ branches:
5
+ - master
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ rust_version: [stable, "1.39.0"]
15
+ steps:
16
+ - uses: actions/checkout@v1
17
+ - name: Setup Rust toolchain
18
+ run: rustup default ${{ matrix.rust_version }}
19
+ - name: Build
20
+ run: cargo build --all --verbose
21
+ - name: Run tests
22
+ run: cargo test --all --verbose
23
+ - name: Rustfmt and Clippy
24
+ run: |
25
+ cargo fmt -- --check
26
+ cargo clippy
27
+ if: matrix.rust_version == 'stable'
0 commit comments