ci: replace actions/checkout with git clone
Release / build-linux-x86_64 (push) Failing after 1m6s
Release / build-linux-aarch64 (push) Failing after 1m3s

actions/checkout@v4 requires Node.js, which is not present in the
Rust container images. Use git clone directly instead.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-04-17 21:04:41 +09:00
co-authored by Copilot
parent 204aa14a2a
commit f42b635f7d
+4 -2
View File
@@ -10,7 +10,8 @@ jobs:
runs-on: ubuntu-latest
container: rust:latest
steps:
- uses: actions/checkout@v4
- name: Checkout
run: git clone --depth 1 --branch "$GITHUB_REF_NAME" "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY" .
- name: Add musl target
run: rustup target add x86_64-unknown-linux-musl
- name: Install musl tools
@@ -34,7 +35,8 @@ jobs:
runs-on: ubuntu-latest
container: messense/rust-musl-cross:aarch64-musl
steps:
- uses: actions/checkout@v4
- name: Checkout
run: git clone --depth 1 --branch "$GITHUB_REF_NAME" "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY" .
- name: Build
run: cargo build --release --target aarch64-unknown-linux-musl
- name: Create archive