test: validate environment variables

Add a test to check that the environment is correctly set.
This commit is contained in:
Sander 2025-08-28 18:07:38 +02:00
parent 9c4488f07a
commit 8010de87ca
No known key found for this signature in database
2 changed files with 67 additions and 0 deletions

View file

@ -26,6 +26,8 @@ jobs:
uses: ./
with:
nix_path: ${{ env.nixpkgs_channel }}
- name: Test environment variables
run: ./test-env.sh
- run: nix-env -iA cachix -f https://cachix.org/api/v1/install
- run: cat /etc/nix/nix.conf
# cachix should be available and be able to configure a cache