File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -275,6 +275,27 @@ jobs:
275275 - name : For each commit, run cargo check (including in fuzz)
276276 run : ci/check-each-commit.sh upstream/main
277277
278+ check_release :
279+ runs-on : ubuntu-latest
280+ env :
281+ TOOLCHAIN : stable
282+ steps :
283+ - name : Checkout source code
284+ uses : actions/checkout@v3
285+ with :
286+ fetch-depth : 0
287+ - name : Install Rust ${{ env.TOOLCHAIN }} toolchain
288+ uses : actions-rs/toolchain@v1
289+ with :
290+ toolchain : ${{ env.TOOLCHAIN }}
291+ override : true
292+ profile : minimal
293+ - name : Run cargo check for release build.
294+ run : |
295+ cargo check --release
296+ cargo check --no-default-features --features=no-std --release
297+ cargo doc --release
298+
278299 fuzz :
279300 runs-on : ubuntu-latest
280301 env :
You can’t perform that action at this time.
0 commit comments