Skip to content

Commit ef60769

Browse files
Enable -Zcheck-cfg for nightly toolchain testing in CI
1 parent fba3007 commit ef60769

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/rust.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Rust
22

33
on:
44
push:
5-
branches: [
5+
branches: [
66
master,
77
auto, # used for bors
88
try # used for bors
@@ -29,10 +29,10 @@ jobs:
2929
run: cargo test --verbose --all
3030
- name: Docs
3131
run: cargo doc --verbose --all
32-
32+
3333
build_beta:
3434
runs-on: ubuntu-latest
35-
35+
3636
steps:
3737
- uses: actions/checkout@v2
3838
- uses: actions-rs/toolchain@v1
@@ -54,7 +54,7 @@ jobs:
5454

5555
build_nightly:
5656
runs-on: ubuntu-latest
57-
57+
5858
steps:
5959
- uses: actions/checkout@v2
6060
- uses: actions-rs/toolchain@v1
@@ -64,19 +64,19 @@ jobs:
6464
- uses: actions-rs/cargo@v1
6565
with:
6666
command: build
67-
args: --verbose --all
67+
args: --verbose --all -Zcheck-cfg
6868
- uses: actions-rs/cargo@v1
6969
with:
7070
command: test
71-
args: --verbose --all
71+
args: --verbose --all -Zcheck-cfg
7272
- uses: actions-rs/cargo@v1
7373
with:
7474
command: doc
7575
args: --verbose --all
76-
76+
7777
check_big_endian:
7878
runs-on: ubuntu-latest
79-
79+
8080
steps:
8181
- uses: actions/checkout@v2
8282
- uses: actions-rs/toolchain@v1

0 commit comments

Comments
 (0)