fix(ci): remove weekly MSRV release run
This commit is contained in:
@@ -14,7 +14,6 @@ const REWRITE_PATH: &str = "RUSTREWRITE.md";
|
||||
#[derive(Debug, Deserialize)]
|
||||
struct DependencyPolicy {
|
||||
schema: u32,
|
||||
msrv: String,
|
||||
current: String,
|
||||
reviewed_on: String,
|
||||
review_by: String,
|
||||
@@ -56,7 +55,6 @@ struct ObservedGraph {
|
||||
#[derive(Debug, Serialize)]
|
||||
struct DependencyEvidence<'a> {
|
||||
schema: u32,
|
||||
msrv: &'a str,
|
||||
current: &'a str,
|
||||
reviewed_on: &'a str,
|
||||
review_by: &'a str,
|
||||
@@ -98,7 +96,6 @@ pub fn audit_dependencies(root: &Path, evidence: &Path) -> Result<()> {
|
||||
.collect();
|
||||
let evidence_record = DependencyEvidence {
|
||||
schema: 1,
|
||||
msrv: &policy.msrv,
|
||||
current: &policy.current,
|
||||
reviewed_on: &policy.reviewed_on,
|
||||
review_by: &policy.review_by,
|
||||
@@ -127,9 +124,9 @@ pub fn audit_dependencies(root: &Path, evidence: &Path) -> Result<()> {
|
||||
}
|
||||
|
||||
fn validate_policy(policy: &DependencyPolicy, rewrite: &str) -> Result<()> {
|
||||
if policy.schema != 1 || policy.msrv != "1.96.0" || policy.current != "stable" {
|
||||
if policy.schema != 1 || policy.current != "stable" {
|
||||
return Err(MatrixError::new(
|
||||
"dependency policy must use schema 1, MSRV 1.96.0, and current stable",
|
||||
"dependency policy must use schema 1 and current stable Rust",
|
||||
));
|
||||
}
|
||||
if !date_shape(&policy.reviewed_on) || !date_shape(&policy.review_by) {
|
||||
|
||||
Reference in New Issue
Block a user