This commit is contained in:
parent
22039a664e
commit
7da9e7c37c
@ -7,5 +7,15 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install Nix
|
- name: Install Nix
|
||||||
uses: cachix/install-nix-action@v27
|
run: |
|
||||||
- run: nix flake check --all-systems
|
sh <(curl -L https://nixos.org/nix/install) --no-daemon --no-channel-add
|
||||||
|
mkdir -p ~/.config/nix
|
||||||
|
touch ~/.config/nix/nix.conf
|
||||||
|
echo "max-jobs = auto" >> ~/.config/nix/nix.conf
|
||||||
|
echo "cores = 0" >> ~/.config/nix/nix.conf
|
||||||
|
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
|
||||||
|
echo "/nix/var/nix/profiles/per-user/$USER/profile/bin" >> "$GITHUB_PATH"
|
||||||
|
echo "/nix/var/nix/profiles/default/bin" >> "$GITHUB_PATH"
|
||||||
|
- name: Check flake
|
||||||
|
run: nix flake check --all-systems
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user