test / test (push) Failing after 1m3s
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>
27 lines
617 B
YAML
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
|