mirror of
https://github.com/DeterminateSystems/nix-installer-action.git
synced 2024-12-23 13:32:06 +01:00
.github: Verify trusted-users is set in nix.conf
This commit is contained in:
parent
b7b7f9899e
commit
8589344a03
1 changed files with 9 additions and 1 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -67,6 +67,10 @@ jobs:
|
||||||
fortune
|
fortune
|
||||||
nix store gc
|
nix store gc
|
||||||
nix run nixpkgs#fortune
|
nix run nixpkgs#fortune
|
||||||
|
- name: Verify the generated nix.conf
|
||||||
|
run: |
|
||||||
|
cat -n /etc/nix/nix.conf
|
||||||
|
grep -E "^trusted-users = .*$USER" /etc/nix/nix.conf
|
||||||
|
|
||||||
run-x86_64-darwin:
|
run-x86_64-darwin:
|
||||||
name: Run x86_64 Darwin
|
name: Run x86_64 Darwin
|
||||||
|
@ -133,3 +137,7 @@ jobs:
|
||||||
fortune
|
fortune
|
||||||
nix store gc
|
nix store gc
|
||||||
nix run nixpkgs#fortune
|
nix run nixpkgs#fortune
|
||||||
|
- name: Verify the generated nix.conf
|
||||||
|
run: |
|
||||||
|
cat -n /etc/nix/nix.conf
|
||||||
|
grep -E "^trusted-users = .*$USER" /etc/nix/nix.conf
|
||||||
|
|
Loading…
Reference in a new issue