File tree Expand file tree Collapse file tree 2 files changed +33
-12
lines changed Expand file tree Collapse file tree 2 files changed +33
-12
lines changed Original file line number Diff line number Diff line change 8
8
branches :
9
9
- master
10
10
11
+ env :
12
+ RUSTFLAGS : -Dwarnings
13
+ RUST_BACKTRACE : 1
14
+
11
15
jobs :
12
16
rustfmt :
13
17
name : rustfmt
16
20
- uses : actions/checkout@v2
17
21
- uses : sfackler/actions/rustup@master
18
22
- uses : sfackler/actions/rustfmt@master
23
+
24
+ windows :
25
+ name : windows
26
+ runs-on : windows-latest
27
+ steps :
28
+ - uses : actions/checkout@v2
29
+ - uses : sfackler/actions/rustup@master
30
+ with :
31
+ version : 1.37.0
32
+ - run : echo "::set-output name=version::$(rustc --version)"
33
+ id : rust-version
34
+ - uses : actions/cache@v1
35
+ with :
36
+ path : ~/.cargo/registry/index
37
+ key : index-${{ runner.os }}-${{ github.run_number }}
38
+ restore-keys : |
39
+ index-${{ runner.os }}-
40
+ - run : cargo generate-lockfile
41
+ - uses : actions/cache@v1
42
+ with :
43
+ path : ~/.cargo/registry/cache
44
+ key : registry-${{ runner.os }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}
45
+ - run : cargo fetch
46
+ - uses : actions/cache@v1
47
+ with :
48
+ path : target
49
+ key : target-${{ runner.os }}-${{ steps.rust-version.outputs.version }}-${{ hashFiles('Cargo.lock') }}
50
+ - run : cargo test
51
+ - run : cargo test --features alpn
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments