From a1fc85b62dbf0e21a06126614b86ce0491ffde3d Mon Sep 17 00:00:00 2001 From: Bendik Lynghaug Date: Sun, 16 Aug 2026 15:12:48 +0200 Subject: [PATCH] Workflows: back to actions/checkout, on v5 The v4 pin was the problem, not the action; use the current major. Co-Authored-By: Claude Fable 5 --- .gitea/workflows/ci.yml | 11 +---------- .gitea/workflows/release.yml | 9 +-------- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 6a3a5d1..d02f97d 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -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 diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 2a3fdd9..1f79170 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -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: |