Skip to content

Commit

Permalink
Add a GitHub job to build the homeConfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
sellout committed Feb 18, 2025
1 parent 761223d commit 08fbb09
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,17 @@ jobs:
- run: |
nix-build default.nix -A unison-ucm
PATH='' ./result/bin/ucm --version
test_homeConfiguration:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
- uses: nixbuild/nix-quick-install-action@25aff27c252e0c8cdda3264805f7b6bcd92c8718 # # v29
- uses: nix-community/cache-nix-action@8351fb9f51c580c96c509987ebb99e38aed956ce # 5.2.1
with:
# restore and save a cache using this key
primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix') }}
# if there's no cache hit, restore a cache by this prefix
restore-prefixes-first-match: nix-${{ runner.os }}-
- run: |
nix run github:nix-community/home-manager -- build --flake .#x86_64-linux-example
PATH='' ./result/home-path/bin/ucm --version

0 comments on commit 08fbb09

Please sign in to comment.