File tree Expand file tree Collapse file tree 1 file changed +13
-31
lines changed Expand file tree Collapse file tree 1 file changed +13
-31
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,6 @@ name: Quick check crates
3
3
on :
4
4
push :
5
5
branches : [ main ]
6
- tags :
7
- - v*
8
6
pull_request :
9
7
branches : [ main ]
10
8
@@ -28,38 +26,22 @@ jobs:
28
26
args : --all-features
29
27
30
28
test :
31
- runs-on : ubuntu-latest
29
+ strategy :
30
+ matrix :
31
+ platform :
32
+ - ubuntu-latest
33
+ - macos-latest
34
+ - windows-latest
35
+ rust :
36
+ - 1.55.0 # MSRV
37
+ - stable
38
+ runs-on : ${{ matrix.platform }}
32
39
steps :
33
40
- uses : actions/checkout@v2
34
41
- uses : actions-rs/toolchain@v1
35
42
with :
36
43
toolchain : stable
37
- - uses : actions-rs/cargo@v1
38
- with :
39
- command : test
40
- args : --all-features
41
-
42
- publish :
43
- runs-on : ubuntu-latest
44
- if : startsWith( github.ref, 'refs/tags/v')
45
- needs :
46
- - security_audit
47
- - clippy_check
48
- - test
49
-
50
- steps :
51
- - uses : actions/checkout@v2
52
- with :
53
- submodules : recursive
54
- - uses : actions-rs/toolchain@v1
55
- with :
44
+ override : true
56
45
profile : minimal
57
- toolchain : stable
58
- - name : Publish release
59
- run : |
60
- cargo login ${{ secrets.CARGO_REGISTRY_TOKEN }}
61
- for i in infinitree-macros infinitree; do
62
- while ! (cd $i; cargo publish -v --no-verify); do
63
- sleep 30
64
- done
65
- done
46
+ - run : cargo test
47
+ - run : cargo test --all-features
You can’t perform that action at this time.
0 commit comments