diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 060af3f..63f55e0 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -20,11 +20,9 @@ jobs: verify: name: Vet, test, build runs-on: golang - container: - image: golang:1.26-bookworm steps: - - name: install node (required by JS-based actions) - run: apt-get update && apt-get install -y --no-install-recommends nodejs ca-certificates git + - name: Install Node.js for actions runtime + run: apt-get update && apt-get install -y nodejs - uses: actions/checkout@v4 @@ -43,13 +41,10 @@ jobs: if: github.ref == 'refs/heads/main' && github.event_name == 'push' runs-on: golang steps: - - name: Install dependencies + - name: Install Docker CLI and Node.js run: | apt-get update - apt-get install -y --no-install-recommends \ - docker.io \ - nodejs \ - git + apt-get install -y --no-install-recommends docker.io nodejs git rm -rf /var/lib/apt/lists/* - uses: actions/checkout@v4