ci: use actions/checkout on docker runner
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user