We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 070cc1b commit 1bf65a5Copy full SHA for 1bf65a5
.github/workflows/main.yml
@@ -0,0 +1,27 @@
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@4
15
16
+ - name: Install Nix
17
+ run: sh <(curl -L https://nixos.org/nix/install)
18
19
+ - name: Install `nix-darwin`
20
+ run: |
21
+ nix --extra-experimental-features 'nix-command flakes' flake init -t nix-darwin
22
23
+ - name: Setup `nix-darwin`
24
+ run: nix --extra-experimental-features 'nix-command flakes' run nix-darwin -- switch --flake flake.nix
25
26
+ # - name: Rebuild system
27
+ # run: darwin-rebuild switch --flake ~/.config/nix-darwin
0 commit comments