From fce3932cb1efa8fd018029c2cfd79b7cbd894efd Mon Sep 17 00:00:00 2001 From: Andrew Emelyaneko Date: Wed, 28 Oct 2026 23:32:53 +0300 Subject: [PATCH] ci: use actions/checkout on docker runner --- .gitea/workflows/ci.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 21b52d4..0aab525 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -12,14 +12,10 @@ jobs: runs-on: docker steps: - name: Checkout code - run: | - git init -q - git remote add origin "${GITHUB_SERVER_URL:-http://10.8.0.52:8080}/$GITHUB_REPOSITORY.git" - git fetch -q --depth 1 origin "$GITHUB_SHA" - git checkout -q FETCH_HEAD + uses: actions/checkout@v4 - name: Install Bun run: | - apk add --no-cache git curl unzip bash + apk add --no-cache bash curl unzip if ! command -v bun >/dev/null 2>&1; then curl -fsSL https://bun.sh/install | bash cp -f /root/.bun/bin/bun /usr/local/bin/bun