Run Gitea workflows on runner image
CI / test (push) Successful in 1m31s

This commit is contained in:
2026-06-09 15:25:09 +09:00
parent c60f5d0837
commit bf63581b6a
2 changed files with 10 additions and 4 deletions
+5 -2
View File
@@ -11,13 +11,16 @@ permissions: read-all
jobs:
test:
runs-on: ubuntu-latest
container:
image: rust:1-bookworm
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
- name: Test
run: cargo test --locked
+5 -2
View File
@@ -10,13 +10,16 @@ permissions: write-all
jobs:
release:
runs-on: ubuntu-latest
container:
image: rust:1-bookworm
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
- name: Test
run: cargo test --locked