Add scripts to GHA

This commit is contained in:
Luc Perkins 2023-05-26 14:29:43 +02:00
parent f6e5e2ba7b
commit ed4ccc0c14
No known key found for this signature in database
GPG Key ID: 4F102D0C16E232F2

View File

@ -6,6 +6,16 @@ on:
branches: [main]
jobs:
formatting-checks:
name: Check Nix and Rust formatting
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Check Nix formatting
run: nix develop -c check-nixpkgs-fmt
- name: Check Rust formatting
run: nix develop -c check-rustfmt
check-flake-dirty:
name: Check flake.lock test (dirty 😈)
runs-on: ubuntu-22.04