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
|
||||
on: [pull_request]
|
||||
env:
|
||||
RUST_VERSION: 1.52
|
||||
RUST_VERSION: 1.69.0
|
||||
jobs:
|
||||
build:
|
||||
name: Build
|
||||
|
||||
4
.gitignore
vendored
4
.gitignore
vendored
@@ -8,7 +8,3 @@ Cargo.lock
|
||||
|
||||
# These are backup files generated by rustfmt
|
||||
**/*.rs.bk
|
||||
|
||||
/target
|
||||
**/*.rs.bk
|
||||
Cargo.lock
|
||||
|
||||
@@ -46,6 +46,7 @@ pub enum DeviceType {
|
||||
Block,
|
||||
}
|
||||
|
||||
#[allow(clippy::derivable_impls)]
|
||||
impl Default for DeviceType {
|
||||
fn default() -> Self {
|
||||
DeviceType::All
|
||||
|
||||
@@ -879,6 +879,7 @@ pub enum MaxValue {
|
||||
Value(i64),
|
||||
}
|
||||
|
||||
#[allow(clippy::derivable_impls)]
|
||||
impl Default for MaxValue {
|
||||
fn default() -> Self {
|
||||
MaxValue::Max
|
||||
|
||||
@@ -199,7 +199,7 @@ fn test_kill_cgroup() {
|
||||
}
|
||||
}
|
||||
};
|
||||
assert!(!status.is_none());
|
||||
assert!(status.is_some());
|
||||
}
|
||||
cg.delete().unwrap();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user