ci: use actions/checkout on docker runner

This commit is contained in:
Andrew Emelyaneko
2026-10-28 23:32:53 +03:00
parent 5db614f5d6
commit fce3932cb1
+2 -6
View File
@@ -12,14 +12,10 @@ jobs:
runs-on: docker runs-on: docker
steps: steps:
- name: Checkout code - name: Checkout code
run: | uses: actions/checkout@v4
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
- name: Install Bun - name: Install Bun
run: | 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 if ! command -v bun >/dev/null 2>&1; then
curl -fsSL https://bun.sh/install | bash curl -fsSL https://bun.sh/install | bash
cp -f /root/.bun/bin/bun /usr/local/bin/bun cp -f /root/.bun/bin/bun /usr/local/bin/bun