From 09ec0199a5145400d5b390bbf3e0d0b54d8b2aac Mon Sep 17 00:00:00 2001 From: robojerk Date: Sun, 10 Aug 2025 00:16:40 -0700 Subject: [PATCH] Fix missing 'file' command in Rust container - Install 'file' package in both workflows to show binary information - Fix outdated comment in simple-build workflow - Resolves 'file: not found' error that was causing workflow failure - Now workflows can properly display binary details after compilation --- .forgejo/workflows/build-artifacts.yml | 2 +- .forgejo/workflows/simple-build.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/build-artifacts.yml b/.forgejo/workflows/build-artifacts.yml index cf57648..03382f0 100644 --- a/.forgejo/workflows/build-artifacts.yml +++ b/.forgejo/workflows/build-artifacts.yml @@ -59,7 +59,7 @@ jobs: fi # Install additional build dependencies - apt install -y libssl-dev libsystemd-dev + apt install -y libssl-dev libsystemd-dev file - name: Checkout repository manually run: | diff --git a/.forgejo/workflows/simple-build.yml b/.forgejo/workflows/simple-build.yml index 8c7d087..fac302b 100644 --- a/.forgejo/workflows/simple-build.yml +++ b/.forgejo/workflows/simple-build.yml @@ -21,9 +21,9 @@ jobs: - name: Checkout code and setup environment run: | apt update -y - apt install -y git curl pkg-config libssl-dev libsystemd-dev build-essential + apt install -y git curl pkg-config libssl-dev libsystemd-dev build-essential file - # Rust 1.89.0 is already installed in rust:1.89-debian-trixie-slim + # Rust 1.89.0 is already installed in rust:1.89-slim-trixie # No need for rustup or toolchain management! echo "✅ Using pre-installed Rust from official image:" rustc --version