File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Integration tests for dotfiles! Has DevOps gone too far?
2
+
3
+ name : " Run setup scripts"
4
+
5
+ on :
6
+ push :
7
+
8
+ jobs :
9
+ run :
10
+ name : Run setup scripts
11
+ runs-on : macos-latest
12
+
13
+ steps :
14
+ - uses : actions/checkout@v4
15
+
16
+ # - name: Install Nix
17
+ # run: sh <(curl -L https://nixos.org/nix/install)
18
+
19
+ - uses : cachix/install-nix-action@v27
20
+ - name : Clean
21
+ run : rm /etc/nix/nix.conf
22
+
23
+ # - name: Install `nix-darwin`
24
+ # run: |
25
+ # nix --extra-experimental-features 'nix-command flakes' flake init -t nix-darwin
26
+
27
+ - name : Setup `nix-darwin`
28
+ run : nix --extra-experimental-features 'nix-command flakes' run nix-darwin -- switch --flake .#hostname
29
+
30
+ - name : Rebuild system
31
+ run : darwin-rebuild switch --flake .#hostname
You can’t perform that action at this time.
0 commit comments