Files
enok/.gitea/workflows/test.yml
T
blandClaude Opus 4.8 886b1d00d2
test / test (push) Failing after 1m3s
ci: run enok in an ephemeral rust container, not on the kasse host
Moves test.yml and release.yml off `runs-on: fish` (host) to an ephemeral
rust:1-bookworm container on the podman runner: v4 built-in checkout (no
Node), no host rustup, curl/jq installed in-container for the release
upload. Keeps the bare host free of toolchain installs.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-09-28 11:12:42 +02:00

27 lines
617 B
YAML

name: test
on:
push:
branches: [main]
pull_request:
jobs:
test:
# Kjører i en efemer rust-container på podman-runneren (kasse) — ikke på verten.
# Ingen rustup/verktøykjede installeres på verten lenger; container-avbildet har alt.
runs-on: ubuntu-latest
container:
image: docker.io/library/rust:1-bookworm
steps:
- name: Hent koden
uses: actions/checkout@v4
- name: Formatering
run: cargo fmt --check
- name: Clippy
run: cargo clippy --all-targets -- -D warnings
- name: Tester
run: cargo test --release --locked