Skip to content

Commit

Permalink
gha: Bump Rust version to 1.69.0
Browse files Browse the repository at this point in the history
Keep Rust version the same as kata-containers repo 's version.

Signed-off-by: Xuewei Niu <niuxuewei.nxw@antgroup.com>
  • Loading branch information
justxuewei committed Jul 31, 2023
1 parent 1b61c07 commit 89edba0
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bvt.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: BVT
on: [pull_request]
env:
RUST_VERSION: 1.52
RUST_VERSION: 1.69.0
jobs:
build:
name: Build
Expand Down
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,3 @@ Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk

/target
**/*.rs.bk
Cargo.lock
1 change: 1 addition & 0 deletions src/devices.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ pub enum DeviceType {
Block,
}

#[allow(clippy::derivable_impls)]
impl Default for DeviceType {
fn default() -> Self {
DeviceType::All
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -879,6 +879,7 @@ pub enum MaxValue {
Value(i64),
}

#[allow(clippy::derivable_impls)]
impl Default for MaxValue {
fn default() -> Self {
MaxValue::Max
Expand Down
2 changes: 1 addition & 1 deletion tests/cgroup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ fn test_kill_cgroup() {
}
}
};
assert!(!status.is_none());
assert!(status.is_some());
}
cg.delete().unwrap();
}
Expand Down

0 comments on commit 89edba0

Please sign in to comment.