File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -11,17 +11,17 @@ jobs:
11
11
name : Build and test binary
12
12
steps :
13
13
- name : Cache cargo registry
14
- uses : actions/cache@v3
14
+ uses : actions/cache@v4
15
15
with :
16
16
path : ~/.cargo/registry
17
17
key : ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
18
18
- name : Cache cargo index
19
- uses : actions/cache@v3
19
+ uses : actions/cache@v4
20
20
with :
21
21
path : ~/.cargo/git
22
22
key : ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }}
23
23
- name : Cache cargo build
24
- uses : actions/cache@v3
24
+ uses : actions/cache@v4
25
25
with :
26
26
path : target
27
27
key : ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
31
31
uses : actions-rs/toolchain@v1
32
32
with :
33
33
profile : minimal
34
- toolchain : 1.67
34
+ toolchain : 1.70
35
35
override : true
36
36
- name : Build
37
37
uses : actions-rs/cargo@v1
43
43
with :
44
44
command : test
45
45
args : --release
46
+ - name : Test the example file
47
+ uses : actions-rs/cargo@v1
48
+ with :
49
+ command : run
50
+ args : --release ./example/ips-to-resolve.txt
You can’t perform that action at this time.
0 commit comments