File tree 1 file changed +9
-7
lines changed
1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -2,15 +2,15 @@ name: CI
2
2
on :
3
3
push :
4
4
branches :
5
- - master
5
+ - main
6
6
pull_request :
7
7
8
8
jobs :
9
9
tests :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- name : Checkout
13
- uses : actions/checkout@master
13
+ uses : actions/checkout@main
14
14
15
15
- uses : actions-rs/toolchain@v1
16
16
with :
@@ -21,14 +21,16 @@ jobs:
21
21
- name : version info
22
22
run : rustc --version; cargo --version;
23
23
24
- - name : Run all tests
25
- run : cargo test
24
+ - name : Run cargo test
25
+ uses : actions-rs/cargo@v1
26
+ with :
27
+ command : test
26
28
27
29
tests-prefetching :
28
30
runs-on : ubuntu-latest
29
31
steps :
30
32
- name : Checkout
31
- uses : actions/checkout@master
33
+ uses : actions/checkout@main
32
34
33
35
- uses : actions-rs/toolchain@v1
34
36
with :
46
48
runs-on : ubuntu-latest
47
49
steps :
48
50
- name : Checkout
49
- uses : actions/checkout@master
51
+ uses : actions/checkout@main
50
52
51
53
- uses : actions-rs/toolchain@v1
52
54
with :
63
65
runs-on : ubuntu-latest
64
66
steps :
65
67
- name : Checkout
66
- uses : actions/checkout@master
68
+ uses : actions/checkout@main
67
69
68
70
- uses : actions-rs/toolchain@v1
69
71
with :
You can’t perform that action at this time.
0 commit comments