7
7
- master
8
8
9
9
env :
10
+ RUST_VERSION : " 1.71.0"
10
11
CARGO_INCREMENTAL : 0
11
12
12
13
jobs :
@@ -15,22 +16,12 @@ jobs:
15
16
runs-on : macos-latest
16
17
steps :
17
18
18
- # get prerequisite code in place (duplicated verbatim below)
19
-
20
- - name : rust version
21
- # note that rust version appears in two places in this file
22
- run : rustup default 1.63.0
23
- - name : add rustfmt
24
- run : rustup component add rustfmt
25
- - name : install cargo-license
26
- run : cargo install cargo-license
27
-
28
19
# check out master
29
20
30
21
- name : Checkout enclone master
31
22
uses : actions/checkout@master
32
23
33
- - uses : Swatinem/rust-cache@v1
24
+ - uses : Swatinem/rust-cache@v2
34
25
with :
35
26
key : ${{ matrix.style }}v1 # increment this to bust the cache if needed
36
27
47
38
#
48
39
# THIS IS A NEW VERSION. MAYBE IT WILL WORK.
49
40
50
- - uses : Swatinem/rust-cache@v1
51
- with :
52
- key : ${{ matrix.style }}v1 # increment this to bust the cache if needed
41
+ - uses : Swatinem/rust-cache@v2
53
42
54
43
# start the real work
55
44
68
57
runs-on : ubuntu-latest
69
58
steps :
70
59
71
- # get prerequisite code in place (duplicated verbatim above)
72
-
73
- - name : rust version
74
- run : rustup default 1.63.0
75
- - name : add rustfmt
76
- run : rustup component add rustfmt
77
- - name : install cargo-license
78
- run : cargo install cargo-license
79
-
80
60
# check out master
81
61
82
62
- name : Checkout enclone master
86
66
87
67
# set up caching (duplicated verbatim below)
88
68
89
- - uses : Swatinem/rust-cache@v1
90
- with :
91
- key : ${{ matrix.style }}v1 # increment this to bust the cache if needed
69
+ - uses : Swatinem/rust-cache@v2
92
70
93
71
# start the real work
94
72
0 commit comments