From 0070c0b94a528fe745843b2a68e3a9ae5bbb2ecd Mon Sep 17 00:00:00 2001 From: Sander Date: Tue, 31 Dec 2024 10:08:58 +0400 Subject: [PATCH] ci: split stable and unstable tests --- .github/workflows/ci.yaml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 52b74769..f6d9baef 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -37,7 +37,22 @@ jobs: - name: Check nixpkgs-unstable run: nix flake check -L --show-trace + - run: nix eval .#lib.x86_64-linux.run --show-trace + + tests-flakes-stable: + strategy: + matrix: + os: [ubuntu-latest, macos-latest] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + - uses: cachix/install-nix-action@v30 + - uses: cachix/cachix-action@v15 + with: + name: pre-commit-hooks + signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' + - run: rm -rf /opt& + - name: Check nixpkgs-stable run: nix flake check -L --show-trace --override-input nixpkgs github:NixOS/nixpkgs/nixos-24.11 - - run: nix eval .#lib.x86_64-linux.run --show-trace