π Fix tests by adding impure build #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "User Home: 'π snuggle@pineapple'" | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- 'README.md' | |
- '.gitattributes' | |
- '.gitignore' | |
- 'outputs/home-conf.nix' | |
- 'outputs/installation.nix' | |
- 'build' | |
- 'switch' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: "Install Nix βοΈ" | |
uses: cachix/install-nix-action@v20 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
extra_nix_config: "experimental-features = nix-command" | |
- name: "Install Cachix βοΈ" | |
uses: cachix/cachix-action@v12 | |
with: | |
name: snuggle | |
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
- name: "Build NixOS config βοΈ" | |
run: chmod +x ./.github/build.sh && ./.github/build.sh snuggle@pineapple |