From d55d423fea4bc09ce5b295a1a86e34d0d884c986 Mon Sep 17 00:00:00 2001 From: Elias Kohout Date: Thu, 2 Apr 2026 04:21:33 +0200 Subject: [PATCH] fix: fix CI workflow failures for Arch and Alpine package builds Move checkout before setup-go in Arch workflow so src/go.mod exists, and remove unsupported --platform container option from Alpine workflow. Co-Authored-By: Claude Opus 4.6 --- .gitea/workflows/apk-publish.yml | 1 - .gitea/workflows/arch-publish.yml | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/apk-publish.yml b/.gitea/workflows/apk-publish.yml index 4fc8ecd..4ac6204 100644 --- a/.gitea/workflows/apk-publish.yml +++ b/.gitea/workflows/apk-publish.yml @@ -10,7 +10,6 @@ jobs: - ubuntu-24.04 container: image: alpine:latest - options: --platform linux/amd64 strategy: matrix: include: diff --git a/.gitea/workflows/arch-publish.yml b/.gitea/workflows/arch-publish.yml index 6eec14d..8023121 100644 --- a/.gitea/workflows/arch-publish.yml +++ b/.gitea/workflows/arch-publish.yml @@ -19,14 +19,14 @@ jobs: - name: Install build dependencies run: sudo apt-get update -qq && sudo apt-get install -y --no-install-recommends zstd curl + - name: Checkout repository + uses: actions/checkout@v4 + - name: Set up Go uses: actions/setup-go@v5 with: go-version-file: src/go.mod - - name: Checkout repository - uses: actions/checkout@v4 - - name: Build binary run: | cd src