Skip to content

Commit

Permalink
ci: test io with std and alloc features, update nightly.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirbaio committed Jul 4, 2023
1 parent 31b62d3 commit 5df51e5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
with:
# embedded-hal-async needs nightly.
# Use a pinned version to avoid spontaneous breakages (new clippy lints are added often)
toolchain: nightly-2022-11-22
toolchain: nightly-2023-07-03
components: clippy
- run: cargo clippy --features=embedded-hal-bus/std -- --deny=warnings
- run: cargo clippy --features=std -- --deny=warnings
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ jobs:
- thumbv7m-none-eabi
include:
- target: x86_64-unknown-linux-gnu
features: embedded-hal-bus/std
features: std
- target: x86_64-unknown-linux-gnu
features: alloc

steps:
- uses: actions/checkout@v3
Expand Down
1 change: 0 additions & 1 deletion embedded-hal-async/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#![doc = include_str!("../README.md")]
#![warn(missing_docs)]
#![no_std]
#![allow(incomplete_features)]
#![feature(async_fn_in_trait, impl_trait_projections)]

pub mod delay;
Expand Down

0 comments on commit 5df51e5

Please sign in to comment.