set up treefmt action

This commit is contained in:
2025-02-08 18:06:10 -05:00
parent 300aa1f032
commit aa4a11c0c3
5 changed files with 19 additions and 2 deletions

View File

@@ -20,6 +20,4 @@ jobs:
- name: Build default package
run: "nixos-rebuild build --flake ./#${{ matrix.system }}"
- name: copy to nix-cache
env:
NIX_SSHOPTS: "-vvvv"
run: nix copy --to ssh://jeeves .#nixosConfigurations.${{ matrix.system }}.config.system.build.toplevel

15
.github/workflows/treefmt.yml vendored Normal file
View File

@@ -0,0 +1,15 @@
name: build_systems
on:
workflow_dispatch:
pull_request:
push:
branches: [main]
jobs:
build:
name: nix fmt
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: Build default package
run: "treefmt --ci"