gha: Bump Rust version to 1.69.0

Keep Rust version the same as kata-containers repo 's version.

Signed-off-by: Xuewei Niu <niuxuewei.nxw@antgroup.com>
This commit is contained in:
Xuewei Niu
2023-07-31 14:58:21 +08:00
parent 1b61c07b69
commit 89edba0f85
5 changed files with 4 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
name: BVT name: BVT
on: [pull_request] on: [pull_request]
env: env:
RUST_VERSION: 1.52 RUST_VERSION: 1.69.0
jobs: jobs:
build: build:
name: Build name: Build

4
.gitignore vendored
View File

@@ -8,7 +8,3 @@ Cargo.lock
# These are backup files generated by rustfmt # These are backup files generated by rustfmt
**/*.rs.bk **/*.rs.bk
/target
**/*.rs.bk
Cargo.lock

View File

@@ -46,6 +46,7 @@ pub enum DeviceType {
Block, Block,
} }
#[allow(clippy::derivable_impls)]
impl Default for DeviceType { impl Default for DeviceType {
fn default() -> Self { fn default() -> Self {
DeviceType::All DeviceType::All

View File

@@ -879,6 +879,7 @@ pub enum MaxValue {
Value(i64), Value(i64),
} }
#[allow(clippy::derivable_impls)]
impl Default for MaxValue { impl Default for MaxValue {
fn default() -> Self { fn default() -> Self {
MaxValue::Max MaxValue::Max

View File

@@ -199,7 +199,7 @@ fn test_kill_cgroup() {
} }
} }
}; };
assert!(!status.is_none()); assert!(status.is_some());
} }
cg.delete().unwrap(); cg.delete().unwrap();
} }