The v4 pin was the problem, not the action; use the current major. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
19fb9de7d9
commit
a1fc85b62d
+1
-10
@@ -12,16 +12,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
container: rust:1
|
||||
steps:
|
||||
# Plain git instead of actions/checkout: no dependence on the
|
||||
# runner resolving external actions or injecting node into the
|
||||
# container. Works for private repos via the workflow token.
|
||||
- name: checkout
|
||||
run: |
|
||||
git init -q .
|
||||
git fetch --depth 1 \
|
||||
"https://gitea:${{ secrets.GITHUB_TOKEN }}@${GITHUB_SERVER_URL#https://}/${GITHUB_REPOSITORY}.git" \
|
||||
"$GITHUB_SHA"
|
||||
git checkout -q FETCH_HEAD
|
||||
- uses: actions/checkout@v5
|
||||
- name: rustfmt
|
||||
run: |
|
||||
rustup component add rustfmt
|
||||
|
||||
@@ -19,14 +19,7 @@ jobs:
|
||||
matrix:
|
||||
target: [x86_64-unknown-linux-gnu, aarch64-unknown-linux-gnu]
|
||||
steps:
|
||||
# Plain git instead of actions/checkout — see ci.yml.
|
||||
- name: checkout
|
||||
run: |
|
||||
git init -q .
|
||||
git fetch --depth 1 \
|
||||
"https://gitea:${{ secrets.GITHUB_TOKEN }}@${GITHUB_SERVER_URL#https://}/${GITHUB_REPOSITORY}.git" \
|
||||
"$GITHUB_SHA"
|
||||
git checkout -q FETCH_HEAD
|
||||
- uses: actions/checkout@v5
|
||||
|
||||
- name: install tooling
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user