40
40
args : --all-targets --all-features
41
41
token : ${{ secrets.GITHUB_TOKEN }}
42
42
43
+ test-latest-deps :
44
+ runs-on : ubuntu-latest
45
+ name : test (latest deps) / ubuntu / ${{ matrix.toolchain }}
46
+ strategy :
47
+ matrix :
48
+ toolchain : [stable, nightly, beta]
49
+ steps :
50
+ - uses : actions/checkout@v4
51
+ - name : Install ${{ matrix.toolchain }}
52
+ uses : dtolnay/rust-toolchain@21dc36fb71dd22e3317045c0c31a3f4249868b17
53
+ with :
54
+ toolchain : ${{ matrix.toolchain }}
55
+ - name : cargo update
56
+ run : cargo update
57
+ - name : cargo test --locked
58
+ run : cargo test --locked --all-features
59
+
43
60
test :
44
61
runs-on : ubuntu-latest
45
62
name : test / ubuntu / ${{ matrix.toolchain }}
52
69
uses : dtolnay/rust-toolchain@21dc36fb71dd22e3317045c0c31a3f4249868b17
53
70
with :
54
71
toolchain : ${{ matrix.toolchain }}
55
- - name : cargo generate-lockfile
56
- if : hashFiles('Cargo.lock') == ''
57
- run : cargo generate-lockfile
58
72
- name : cargo test --locked
59
73
run : cargo test --locked --all-features
60
74
86
100
uses : dtolnay/rust-toolchain@21dc36fb71dd22e3317045c0c31a3f4249868b17
87
101
with :
88
102
toolchain : ${{ matrix.toolchain }}
89
- - name : cargo generate-lockfile
90
- if : hashFiles('Cargo.lock') == ''
91
- run : cargo generate-lockfile
92
103
- name : cargo test --locked
93
104
run : cargo test --locked --no-default-features
94
105
@@ -104,12 +115,25 @@ jobs:
104
115
uses : dtolnay/rust-toolchain@21dc36fb71dd22e3317045c0c31a3f4249868b17
105
116
with :
106
117
toolchain : ${{ matrix.toolchain }}
107
- - name : cargo generate-lockfile
108
- if : hashFiles('Cargo.lock') == ''
109
- run : cargo generate-lockfile
110
118
- name : run_integration_tests.sh
111
119
run : /bin/bash ./run_integration_tests.sh
112
120
121
+ integration-test-latest-deps :
122
+ runs-on : ubuntu-latest
123
+ name : integration-test (latest deps) / ubuntu / ${{ matrix.toolchain }}
124
+ strategy :
125
+ matrix :
126
+ toolchain : [stable, nightly, beta]
127
+ steps :
128
+ - uses : actions/checkout@v4
129
+ - name : Install ${{ matrix.toolchain }}
130
+ uses : dtolnay/rust-toolchain@21dc36fb71dd22e3317045c0c31a3f4249868b17
131
+ with :
132
+ toolchain : ${{ matrix.toolchain }}
133
+ - name : cargo update
134
+ run : cargo update
135
+ - name : run_integration_tests.sh
136
+ run : /bin/bash ./run_integration_tests.sh
113
137
doc :
114
138
runs-on : ubuntu-latest
115
139
name : doc / nightly
0 commit comments