File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ on : [push, pull_request]
2+
3+ name : Windows CI
4+
5+ jobs :
6+ check :
7+ name : Windows CI
8+ runs-on : windows-latest
9+ steps :
10+ - name : Cache cargo registry
11+ uses : actions/cache@v1
12+ with :
13+ path : ~/.cargo/registry
14+ key : ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
15+ - name : Cache cargo index
16+ uses : actions/cache@v1
17+ with :
18+ path : ~/.cargo/git
19+ key : ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
20+ - name : Cache cargo build
21+ uses : actions/cache@v1
22+ with :
23+ path : target
24+ key : ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
25+
26+ - uses : actions/checkout@v2
27+ - name : Install latest stable toolchain
28+ uses : actions-rs/toolchain@v1
29+ with :
30+ profile : minimal
31+ toolchain : stable
32+
33+ - name : Run cargo test
34+ uses : actions-rs/cargo@v1
35+ with :
36+ command : test
You can’t perform that action at this time.
0 commit comments