File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -2,15 +2,15 @@ name: CI
22on :
33 push :
44 branches :
5- - master
5+ - main
66 pull_request :
77
88jobs :
99 tests :
1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : Checkout
13- uses : actions/checkout@master
13+ uses : actions/checkout@main
1414
1515 - uses : actions-rs/toolchain@v1
1616 with :
@@ -21,14 +21,16 @@ jobs:
2121 - name : version info
2222 run : rustc --version; cargo --version;
2323
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
2628
2729 tests-prefetching :
2830 runs-on : ubuntu-latest
2931 steps :
3032 - name : Checkout
31- uses : actions/checkout@master
33+ uses : actions/checkout@main
3234
3335 - uses : actions-rs/toolchain@v1
3436 with :
4648 runs-on : ubuntu-latest
4749 steps :
4850 - name : Checkout
49- uses : actions/checkout@master
51+ uses : actions/checkout@main
5052
5153 - uses : actions-rs/toolchain@v1
5254 with :
6365 runs-on : ubuntu-latest
6466 steps :
6567 - name : Checkout
66- uses : actions/checkout@master
68+ uses : actions/checkout@main
6769
6870 - uses : actions-rs/toolchain@v1
6971 with :
You can’t perform that action at this time.
0 commit comments