fix ci and make it reproducible

This commit is contained in:
Jörg Thalheim committed 2024-08-19 10:39:18 +02:00
1 parent c54cf53e02
commit 04a366f28c
5 files changed
+201 -74

No files matched your search

+1 -9
View File
@@ -7,15 +7,7 @@ on:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
# when updating channels, also update .mergify.yml
channel: [ nixos-unstable, nixos-24.05 ]
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@V27
with:
nix_path: nixpkgs=channel:${{ matrix.channel }}
- name: Show nixpkgs version
run: nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'
- run: ./tests/run.py
- run: nix run ./tests#run .