Add CI workflow and enforce Rust 1.88 linting
Rust checks / check (push) Failing after 1m7s

This commit is contained in:
GarandPLG committed 2026-10-19 12:33:06 +02:00
1 parent c4313b4117
commit dfe46cab96
8 files changed
+80 -12

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
name: Rust checks
on:
push:
pull_request:
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: https://github.com/actions/checkout@v4
- name: Install Nix
uses: https://github.com/cachix/install-nix-action@v31
- name: Formatting
run: nix develop --no-update-lock-file -c cargo fmt --all -- --check
- name: Compilation
run: nix develop --no-update-lock-file -c cargo check --all-targets --locked
- name: Tests
run: nix develop --no-update-lock-file -c cargo test --all-targets --locked
- name: Release tests
run: nix develop --no-update-lock-file -c cargo test --all-targets --release --locked
- name: Clippy
run: nix develop --no-update-lock-file -c cargo clippy --all-targets --locked