From 8c9d12c0dbe1bce61635a3f215e74be738a3414d Mon Sep 17 00:00:00 2001 From: eewing Date: Tue, 17 Feb 2026 09:55:57 -0600 Subject: [PATCH] Update CI workflow to use Ubuntu 22.04 container and streamline dependency installation - Added a container specification for Ubuntu 22.04 to the CI workflow. - Included a step to install curl and ca-certificates for improved dependency management. - Simplified the installation commands by removing 'sudo' for apt-get operations. --- .gitea/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index eaf2d7f..d4510fc 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -34,10 +34,15 @@ jobs: deploy: runs-on: ubuntu-latest if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') + container: + image: ubuntu:22.04 steps: - name: Checkout uses: actions/checkout@v4 + - name: Install curl and ca-certificates + run: apt-get update -qq && apt-get install -y curl ca-certificates + - name: Install Bun run: | curl -fsSL https://bun.sh/install | bash @@ -45,7 +50,7 @@ jobs: echo "PATH=$HOME/.bun/bin:$PATH" >> $GITHUB_ENV - name: Install deploy tools - run: sudo apt-get update -qq && sudo apt-get install -y rsync openssh-client sshpass + run: apt-get update -qq && apt-get install -y rsync openssh-client sshpass - name: Install dependencies run: bun install --frozen-lockfile