File tree Expand file tree Collapse file tree 3 files changed +11
-40
lines changed
Expand file tree Collapse file tree 3 files changed +11
-40
lines changed Original file line number Diff line number Diff line change 1- name : Nix Flake Check
1+ name : Flake Check
22
33on :
4+ pull_request :
45 push :
5- branches :
6- - main
6+ branches : [main]
77
88jobs :
99 flake-check :
1010 runs-on : ubuntu-latest
11-
1211 permissions :
13- contents : write
12+ contents : read
1413
1514 steps :
1615 - name : Checkout repository
@@ -22,13 +21,11 @@ jobs:
2221 extra_nix_config : |
2322 accept-flake-config = true
2423
25- - name : Run statix (lint)
26- run : nix develop -c statix check --config ./.statix.toml .
24+ - name : Cache Nix store
25+ uses : DeterminateSystems/magic- nix-cache-action@v7
2726
28- - name : Run formatter
29- run : nix develop -c nix fmt .
27+ - name : Statix (lint)
28+ run : nix develop -c statix check --config ./.statix.toml .
3029
31- - name : Commit lint/format fixes
32- uses : stefanzweifel/git-auto-commit-action@v5
33- with :
34- commit_message : " Auto lint/format"
30+ - name : Flake check
31+ run : nix flake check --show-trace
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3535 } ;
3636
3737 config = lib . mkIf cfg . enable {
38- foot . enable = lib . mkDefault cfg . ghostty . enable ;
38+ foot . enable = lib . mkDefault cfg . foot . enable ;
3939 ghostty . enable = lib . mkDefault cfg . ghostty . enable ;
4040 gtk-theme . enable = lib . mkDefault cfg . gtk-theme . enable ;
4141 hyprland . enable = lib . mkDefault cfg . hyprland . enable ;
You can’t perform that action at this time.
0 commit comments