Skip to content

Commit b4e0266

Browse files
authored
Merge pull request #50 from hnez/test-antique-rust
ci: tacd: run basic cargo check against different rust versions
2 parents 918c9a5 + 24d5f2f commit b4e0266

File tree

6 files changed

+32
-8
lines changed

6 files changed

+32
-8
lines changed

.github/workflows/tacd-daemon.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,30 @@ jobs:
5555
args: ${{ matrix.features }}
5656
name: Clippy Output
5757

58+
check:
59+
strategy:
60+
fail-fast: false # Run against all versions even if one fails
61+
matrix:
62+
version:
63+
- "1.68" # Yocto mickledore
64+
- "1.70" # Yocto nanbield
65+
- "nightly"
66+
name: cargo check
67+
runs-on: ubuntu-latest
68+
steps:
69+
- uses: actions/checkout@v2
70+
- run: sudo apt update
71+
- run: sudo apt install libsystemd-dev libiio-dev
72+
- uses: actions-rs/toolchain@v1
73+
with:
74+
profile: minimal
75+
toolchain: ${{ matrix.version }}
76+
override: true
77+
- uses: Swatinem/rust-cache@v2
78+
- uses: actions-rs/cargo@v1
79+
with:
80+
command: check
81+
5882
deny:
5983
name: cargo deny
6084
runs-on: ubuntu-latest

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ anyhow = "1.0"
1616
async-sse = "5.1"
1717
async-std = { version = "1.12", features = ["attributes"] }
1818
async-trait = "0.1"
19-
async-tungstenite = "0.23"
19+
async-tungstenite = "0.22"
2020
base64 = "0.21"
2121
chrono = "0.4"
2222
embedded-graphics = "0.7"

deny.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ ignore = [
1616
"RUSTSEC-2021-0059",
1717
"RUSTSEC-2021-0060",
1818
"RUSTSEC-2021-0064",
19+
"RUSTSEC-2023-0065",
1920
]
2021

2122
[bans]

src/dbus/networkmanager/devices.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,5 +414,4 @@ pub mod ip4 {
414414
}
415415
}
416416
pub use device::DeviceProxy;
417-
pub use statistics::StatisticsProxy;
418417
pub use wired::WiredProxy;

src/dbus/rauc/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ mod imports {
6666
#[cfg(not(feature = "demo_mode"))]
6767
mod imports {
6868
pub use anyhow::{anyhow, bail, Result};
69-
pub use futures::{select, FutureExt};
70-
pub use log::{error, info};
69+
pub use futures::FutureExt;
70+
pub use log::error;
7171

7272
pub const CHANNELS_DIR: &str = "/usr/share/tacd/update_channels";
7373
}

0 commit comments

Comments
 (0)