Skip to content

Commit

Permalink
Merge pull request #50 from hnez/test-antique-rust
Browse files Browse the repository at this point in the history
ci: tacd: run basic cargo check against different rust versions
  • Loading branch information
hnez committed Nov 6, 2023
2 parents 918c9a5 + 24d5f2f commit b4e0266
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 8 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/tacd-daemon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,30 @@ jobs:
args: ${{ matrix.features }}
name: Clippy Output

check:
strategy:
fail-fast: false # Run against all versions even if one fails
matrix:
version:
- "1.68" # Yocto mickledore
- "1.70" # Yocto nanbield
- "nightly"
name: cargo check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: sudo apt update
- run: sudo apt install libsystemd-dev libiio-dev
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.version }}
override: true
- uses: Swatinem/rust-cache@v2
- uses: actions-rs/cargo@v1
with:
command: check

deny:
name: cargo deny
runs-on: ubuntu-latest
Expand Down
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ anyhow = "1.0"
async-sse = "5.1"
async-std = { version = "1.12", features = ["attributes"] }
async-trait = "0.1"
async-tungstenite = "0.23"
async-tungstenite = "0.22"
base64 = "0.21"
chrono = "0.4"
embedded-graphics = "0.7"
Expand Down
1 change: 1 addition & 0 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ ignore = [
"RUSTSEC-2021-0059",
"RUSTSEC-2021-0060",
"RUSTSEC-2021-0064",
"RUSTSEC-2023-0065",
]

[bans]
Expand Down
1 change: 0 additions & 1 deletion src/dbus/networkmanager/devices.rs
Original file line number Diff line number Diff line change
Expand Up @@ -414,5 +414,4 @@ pub mod ip4 {
}
}
pub use device::DeviceProxy;
pub use statistics::StatisticsProxy;
pub use wired::WiredProxy;
4 changes: 2 additions & 2 deletions src/dbus/rauc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ mod imports {
#[cfg(not(feature = "demo_mode"))]
mod imports {
pub use anyhow::{anyhow, bail, Result};
pub use futures::{select, FutureExt};
pub use log::{error, info};
pub use futures::FutureExt;
pub use log::error;

pub const CHANNELS_DIR: &str = "/usr/share/tacd/update_channels";
}
Expand Down

0 comments on commit b4e0266

Please sign in to comment.