File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : ci
3
+
4
+ on :
5
+ push :
6
+ workflow_dispatch :
7
+
8
+ jobs :
9
+ tests :
10
+ runs-on : ${{ matrix.os }}
11
+ strategy :
12
+ fail-fast : false
13
+ matrix :
14
+ os : [ubuntu-latest, macos-latest]
15
+ rust : [stable]
16
+ env :
17
+ CARGO_TERM_COLOR : always
18
+ RUST_BACKTRACE : full
19
+ steps :
20
+ - uses : actions/checkout@v2
21
+ - name : Install Rust ${{ matrix.rust }}
22
+ uses : actions-rs/toolchain@v1
23
+ with :
24
+ toolchain : ${{ matrix.rust }}
25
+ profile : minimal
26
+ override : true
27
+ - name : Cache cargo registry
28
+ uses : actions/cache@v2
29
+ continue-on-error : false
30
+ with :
31
+ path : |
32
+ ~/.cargo/registry
33
+ ~/.cargo/git
34
+ key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
35
+ restore-keys : |
36
+ ${{ runner.os }}-cargo-
37
+ - run : cargo test --all-features
You can’t perform that action at this time.
0 commit comments