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
|
runs-on: ubuntu-latest
|
||||||
container: rust:1
|
container: rust:1
|
||||||
steps:
|
steps:
|
||||||
# Plain git instead of actions/checkout: no dependence on the
|
- uses: actions/checkout@v5
|
||||||
# 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
|
|
||||||
- name: rustfmt
|
- name: rustfmt
|
||||||
run: |
|
run: |
|
||||||
rustup component add rustfmt
|
rustup component add rustfmt
|
||||||
|
|||||||
@@ -19,14 +19,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
target: [x86_64-unknown-linux-gnu, aarch64-unknown-linux-gnu]
|
target: [x86_64-unknown-linux-gnu, aarch64-unknown-linux-gnu]
|
||||||
steps:
|
steps:
|
||||||
# Plain git instead of actions/checkout — see ci.yml.
|
- uses: actions/checkout@v5
|
||||||
- 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
|
|
||||||
|
|
||||||
- name: install tooling
|
- name: install tooling
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user