chore: add action for format checking

This commit is contained in:
Julian Stiller 2025-05-24 00:40:47 +02:00
parent 4fd33e6ceb
commit e5d797d958

View file

@ -0,0 +1,18 @@
name: format
on:
pull_request:
jobs:
test:
runs-on: nixos-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
ref: 'main'
- name: dev
uses: actions/nix/develop@main
with:
flake: .
run: treefmt