fix(ci): remove weekly MSRV release run
This commit is contained in:
@@ -205,30 +205,11 @@ pub fn run_release_gate(root: &Path, evidence_path: &Path) -> Result<()> {
|
||||
];
|
||||
let stages: [(&str, Vec<CommandSpec>); 4] = [
|
||||
(
|
||||
"msrv-and-portable-cross-targets",
|
||||
"portable-cross-targets",
|
||||
vec![
|
||||
CommandSpec::new(
|
||||
"cargo",
|
||||
&[
|
||||
"+1.96.0",
|
||||
"check",
|
||||
"--locked",
|
||||
"--all-targets",
|
||||
"--no-default-features",
|
||||
"-p",
|
||||
"libremetaverse-types",
|
||||
"-p",
|
||||
"libremetaverse-structured-data",
|
||||
"-p",
|
||||
"libremetaverse-imaging",
|
||||
"-p",
|
||||
"libremetaverse-prim-mesher",
|
||||
],
|
||||
),
|
||||
CommandSpec::new(
|
||||
"cargo",
|
||||
&[
|
||||
"+1.97.1",
|
||||
"check",
|
||||
"--locked",
|
||||
"--target",
|
||||
@@ -247,7 +228,6 @@ pub fn run_release_gate(root: &Path, evidence_path: &Path) -> Result<()> {
|
||||
CommandSpec::new(
|
||||
"cargo",
|
||||
&[
|
||||
"+1.97.1",
|
||||
"check",
|
||||
"--locked",
|
||||
"--target",
|
||||
@@ -271,7 +251,6 @@ pub fn run_release_gate(root: &Path, evidence_path: &Path) -> Result<()> {
|
||||
CommandSpec::new(
|
||||
"cargo",
|
||||
&[
|
||||
"+1.97.1",
|
||||
"bench",
|
||||
"--locked",
|
||||
"-p",
|
||||
@@ -284,7 +263,6 @@ pub fn run_release_gate(root: &Path, evidence_path: &Path) -> Result<()> {
|
||||
CommandSpec::new(
|
||||
"cargo",
|
||||
&[
|
||||
"+1.97.1",
|
||||
"bench",
|
||||
"--locked",
|
||||
"-p",
|
||||
@@ -297,7 +275,6 @@ pub fn run_release_gate(root: &Path, evidence_path: &Path) -> Result<()> {
|
||||
CommandSpec::new(
|
||||
"cargo",
|
||||
&[
|
||||
"+1.97.1",
|
||||
"run",
|
||||
"--locked",
|
||||
"-p",
|
||||
@@ -317,7 +294,6 @@ pub fn run_release_gate(root: &Path, evidence_path: &Path) -> Result<()> {
|
||||
CommandSpec::new(
|
||||
"cargo",
|
||||
&[
|
||||
"+1.97.1",
|
||||
"package",
|
||||
"--locked",
|
||||
"--no-verify",
|
||||
@@ -358,7 +334,6 @@ pub fn run_release_gate(root: &Path, evidence_path: &Path) -> Result<()> {
|
||||
CommandSpec::new(
|
||||
"cargo",
|
||||
&[
|
||||
"+1.97.1",
|
||||
"build",
|
||||
"--locked",
|
||||
"--release",
|
||||
@@ -375,7 +350,6 @@ pub fn run_release_gate(root: &Path, evidence_path: &Path) -> Result<()> {
|
||||
CommandSpec::new(
|
||||
"cargo",
|
||||
&[
|
||||
"+1.97.1",
|
||||
"run",
|
||||
"--locked",
|
||||
"-p",
|
||||
@@ -393,7 +367,6 @@ pub fn run_release_gate(root: &Path, evidence_path: &Path) -> Result<()> {
|
||||
CommandSpec::new(
|
||||
"cargo",
|
||||
&[
|
||||
"+1.97.1",
|
||||
"run",
|
||||
"--locked",
|
||||
"-p",
|
||||
@@ -1102,9 +1075,15 @@ fn validate_workflows(root: &Path, manifest: &CoverageManifest) -> Result<()> {
|
||||
"tracked mtimes must be blob-stable across commits, not commit-wide",
|
||||
));
|
||||
}
|
||||
if release.contains("pull_request:") || !release.contains("workflow_dispatch:") {
|
||||
if release.contains("pull_request:")
|
||||
|| release.contains("schedule:")
|
||||
|| !release.contains("workflow_dispatch:")
|
||||
|| !release.contains("tags:")
|
||||
|| !release.contains("toolchain: 1.97.1")
|
||||
|| release.matches("toolchain:").count() != 1
|
||||
{
|
||||
return Err(MatrixError::new(
|
||||
"release workflow must be explicitly non-routine",
|
||||
"release workflow must be manual or tag-triggered and install only Rust 1.97.1",
|
||||
));
|
||||
}
|
||||
for path in &workflow_paths {
|
||||
|
||||
Reference in New Issue
Block a user