|
18 | 18 | shell: sh |
19 | 19 | run: | |
20 | 20 | mv src/secret.key.sample src/secret.key |
21 | | -
|
22 | | - - name: Run cargo check |
23 | | - uses: actions-rs/cargo@v1 |
24 | | - with: |
25 | | - command: check |
26 | | - args: --release |
27 | | - |
| 21 | + |
28 | 22 | - name: Cache cargo registry |
29 | 23 | uses: actions/cache@v1 |
30 | 24 | with: |
|
52 | 46 | ${{ runner.os }}-build- |
53 | 47 | ${{ runner.os }}- |
54 | 48 |
|
| 49 | + - name: Run cargo check |
| 50 | + uses: actions-rs/cargo@v1 |
| 51 | + with: |
| 52 | + command: check |
| 53 | + args: --release |
55 | 54 |
|
56 | 55 | - name: Run cargo fmt |
57 | 56 | uses: actions-rs/cargo@v1 |
|
94 | 93 | shell: cmd |
95 | 94 | run: ren src\secret.key.sample secret.key |
96 | 95 |
|
97 | | - - name: Run cargo check |
98 | | - uses: actions-rs/cargo@v1 |
99 | | - with: |
100 | | - command: check |
101 | | - args: --release |
102 | | - env: |
103 | | - RUSTFLAGS: -L D:\a\actix-web-rest-api-with-jwt\actix-web-rest-api-with-jwt\libs |
104 | | - |
105 | 96 | - name: Cache cargo registry |
106 | 97 | uses: actions/cache@v1 |
107 | 98 | with: |
@@ -129,6 +120,14 @@ jobs: |
129 | 120 | ${{ runner.os }}-build- |
130 | 121 | ${{ runner.os }}- |
131 | 122 |
|
| 123 | + - name: Run cargo check |
| 124 | + uses: actions-rs/cargo@v1 |
| 125 | + with: |
| 126 | + command: check |
| 127 | + args: --release |
| 128 | + env: |
| 129 | + RUSTFLAGS: -L D:\a\actix-web-rest-api-with-jwt\actix-web-rest-api-with-jwt\libs |
| 130 | + |
132 | 131 | - name: Run cargo fmt |
133 | 132 | uses: actions-rs/cargo@v1 |
134 | 133 | continue-on-error: true |
@@ -167,13 +166,7 @@ jobs: |
167 | 166 | shell: sh |
168 | 167 | run: | |
169 | 168 | mv src/secret.key.sample src/secret.key |
170 | | -
|
171 | | - - name: Run cargo check |
172 | | - uses: actions-rs/cargo@v1 |
173 | | - with: |
174 | | - command: check |
175 | | - args: --release |
176 | | - |
| 169 | + |
177 | 170 | - name: Cache cargo registry |
178 | 171 | uses: actions/cache@v1 |
179 | 172 | with: |
@@ -201,6 +194,12 @@ jobs: |
201 | 194 | ${{ runner.os }}-build- |
202 | 195 | ${{ runner.os }}- |
203 | 196 |
|
| 197 | + - name: Run cargo check |
| 198 | + uses: actions-rs/cargo@v1 |
| 199 | + with: |
| 200 | + command: check |
| 201 | + args: --release |
| 202 | + |
204 | 203 | - name: Run cargo fmt |
205 | 204 | uses: actions-rs/cargo@v1 |
206 | 205 | continue-on-error: true |
|
0 commit comments