From 7d4ef1f594b11042c0490c4af939415a5d4f0ee1 Mon Sep 17 00:00:00 2001 From: Tyler Koenig Date: Tue, 26 May 2026 18:44:08 -0400 Subject: [PATCH] fix(ci): remove explicit container, use sh shell MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Act runner is Alpine-based — container: directive breaks node-based actions (checkout, setup-go). Runner already has apk natively. Added shell: sh to all jobs since runner lacks bash. --- .gitea/workflows/ci.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 3ed2004..e1292ea 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -11,19 +11,21 @@ env: jobs: test: runs-on: ubuntu-latest - container: - image: golang:1.24-alpine3.21 defaults: run: shell: sh steps: - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: "1.24" + - uses: actions/cache@v4 with: path: | - /go/pkg/mod - /root/.cache/go-build + ~/go/pkg/mod + ~/.cache/go-build key: go-${{ hashFiles('go.sum') }} restore-keys: go- @@ -38,6 +40,9 @@ jobs: lint: runs-on: ubuntu-latest + defaults: + run: + shell: sh steps: - uses: actions/checkout@v4 @@ -51,6 +56,9 @@ jobs: vulncheck: runs-on: ubuntu-latest + defaults: + run: + shell: sh steps: - uses: actions/checkout@v4