Files
forust ddf4cc7cc1
ci / rust (push) Successful in 51s
ci / lint-yaml (push) Successful in 5s
release / linux-amd64 (push) Failing after 29s
chore: prepare production rust release
2026-07-03 15:48:48 +02:00

47 lines
936 B
YAML

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 .