Skip to content

Commit

Permalink
Enable -Zcheck-cfg for nightly toolchain testing in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwoerister committed Dec 14, 2023
1 parent fba3007 commit ef60769
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Rust

on:
push:
branches: [
branches: [
master,
auto, # used for bors
try # used for bors
Expand All @@ -29,10 +29,10 @@ jobs:
run: cargo test --verbose --all
- name: Docs
run: cargo doc --verbose --all

build_beta:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
Expand All @@ -54,7 +54,7 @@ jobs:

build_nightly:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
Expand All @@ -64,19 +64,19 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: build
args: --verbose --all
args: --verbose --all -Zcheck-cfg
- uses: actions-rs/cargo@v1
with:
command: test
args: --verbose --all
args: --verbose --all -Zcheck-cfg
- uses: actions-rs/cargo@v1
with:
command: doc
args: --verbose --all

check_big_endian:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
Expand Down

0 comments on commit ef60769

Please sign in to comment.