mirror of
https://github.com/kata-containers/cgroups-rs.git
synced 2026-08-05 02:13:23 +00:00
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:
2
.github/workflows/bvt.yaml
vendored
2
.github/workflows/bvt.yaml
vendored
@@ -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
4
.gitignore
vendored
@@ -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
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -199,7 +199,7 @@ fn test_kill_cgroup() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
assert!(!status.is_none());
|
assert!(status.is_some());
|
||||||
}
|
}
|
||||||
cg.delete().unwrap();
|
cg.delete().unwrap();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user