fix(ci): use Gitea-native checkout action
Some checks failed
CI / Format (push) Failing after 0s
CI / Clippy (push) Failing after 0s
CI / Security Audit (push) Failing after 11s
CI / Format (pull_request) Failing after 1s
CI / Tests (push) Has been skipped
CI / Clippy (pull_request) Failing after 2s
CI / Security Audit (pull_request) Failing after 3s
CI / Build & Push Image (push) Has been skipped
CI / Tests (pull_request) Has been skipped
CI / Build & Push Image (pull_request) Has been skipped

The GitHub actions/checkout@v4 requires Node.js which is not
available in the rust container image. Switch to Gitea's native
checkout action that runs without Node.js.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Sharang Parnerkar
2026-02-18 09:20:40 +01:00
parent dcc329e764
commit ad52dfe100

View File

@@ -27,7 +27,7 @@ jobs:
container:
image: rust:1.89-bookworm
steps:
- uses: actions/checkout@v4
- uses: https://gitea.com/https://gitea.com/actions/checkout@v4
- run: rustup component add rustfmt
- run: cargo fmt --check
@@ -37,7 +37,7 @@ jobs:
container:
image: rust:1.89-bookworm
steps:
- uses: actions/checkout@v4
- uses: https://gitea.com/https://gitea.com/actions/checkout@v4
- run: rustup component add clippy
# Lint both feature sets independently
- name: Clippy (server)
@@ -51,7 +51,7 @@ jobs:
container:
image: rust:1.89-bookworm
steps:
- uses: actions/checkout@v4
- uses: https://gitea.com/actions/checkout@v4
- run: cargo install cargo-audit
- run: cargo audit
@@ -65,7 +65,7 @@ jobs:
container:
image: rust:1.89-bookworm
steps:
- uses: actions/checkout@v4
- uses: https://gitea.com/actions/checkout@v4
- name: Run tests (server)
run: cargo test --features server --no-default-features
- name: Run tests (web)
@@ -83,7 +83,7 @@ jobs:
github.event_name == 'push' &&
(github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/'))
steps:
- uses: actions/checkout@v4
- uses: https://gitea.com/actions/checkout@v4
- name: Determine image tag
id: tag