* Updated release workflow to test all distros, use pre-built images, and removed redundant env set up steps

* Updated status checks to mirror release workflow process
* Return type annotations added to build script for better linting/erroring
This commit is contained in:
2025-10-16 13:33:15 -05:00
parent 8b8e48734d
commit fc9f1c0d52
3 changed files with 63 additions and 168 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ class DistroType(Enum):
RHEL = "rhel"
def run_command(cmd: list[str], check: bool = True, working_dir: str = None) -> subprocess.CompletedProcess:
def run_command(cmd: list[str], check: bool = True, working_dir: str | None = None) -> subprocess.CompletedProcess:
"""Run command and handle errors."""
print(f"Running: {' '.join(cmd)}")
try:
@@ -172,7 +172,7 @@ StartupNotify=true
print(f" (missing) {item_path}")
def main():
def main() -> None:
# Get project root (parent of scripts directory)
project_root = Path(__file__).parent.parent.resolve()
print(f"Project root: {project_root}")