chore: prepare production rust release
ci / rust (push) Successful in 1m1s
ci / lint-yaml (push) Successful in 4s
release / linux-amd64 (push) Successful in 44s

This commit is contained in:
2026-07-03 15:45:22 +02:00
parent d1cc207ce4
commit b681db19f1
52 changed files with 2566 additions and 4077 deletions
+46
View File
@@ -0,0 +1,46 @@
name: ci
"on":
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
rust:
runs-on: [self-hosted, linux, arch, homelab]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Check formatting
shell: bash
run: cargo fmt --check
- name: Run tests
shell: bash
run: cargo test --locked
- name: Run clippy
shell: bash
run: cargo clippy --locked -- -D warnings
- name: Build release binary
shell: bash
run: cargo build --release --locked
lint-yaml:
runs-on: [self-hosted, linux, arch, homelab]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Lint YAML
shell: bash
run: |
docker run --rm \
-v "$PWD:/work" \
-w /work \
cytopia/yamllint:latest \
-c .yamllint .