mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2024-12-23 12:41:31 +11:00
Deny warnings in ci
This commit is contained in:
parent
077cba68f5
commit
1bf47df553
2
.github/workflows/check.yml
vendored
2
.github/workflows/check.yml
vendored
|
@ -4,6 +4,8 @@ jobs:
|
|||
check:
|
||||
name: cargo-check
|
||||
runs-on: ubuntu-20.04
|
||||
env:
|
||||
RUSTFLAGS: "-D warnings"
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: sudo apt-get update
|
||||
|
|
2
.github/workflows/clippy.yml
vendored
2
.github/workflows/clippy.yml
vendored
|
@ -3,6 +3,8 @@ name: Clippy check
|
|||
jobs:
|
||||
clippy_check:
|
||||
runs-on: ubuntu-20.04
|
||||
env:
|
||||
RUSTFLAGS: "-D warnings"
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
|
|
2
.github/workflows/rustfmt.yml
vendored
2
.github/workflows/rustfmt.yml
vendored
|
@ -4,6 +4,8 @@ jobs:
|
|||
fmt:
|
||||
name: Rustfmt
|
||||
runs-on: ubuntu-20.04
|
||||
env:
|
||||
RUSTFLAGS: "-D warnings"
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
|
|
2
.github/workflows/tests_host.yml
vendored
2
.github/workflows/tests_host.yml
vendored
|
@ -4,6 +4,8 @@ jobs:
|
|||
check:
|
||||
name: Check and Lint
|
||||
runs-on: ubuntu-20.04
|
||||
env:
|
||||
RUSTFLAGS: "-D warnings"
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
//! NOTE This HAL is still under active development. This API will remain volatile until 1.0.0
|
||||
|
||||
#![deny(missing_docs)]
|
||||
#![deny(warnings)]
|
||||
#![no_std]
|
||||
|
||||
extern crate cortex_m;
|
||||
|
|
Loading…
Reference in a new issue