diff options
| author | Michael Hoang <enzime@users.noreply.github.com> | 2024-11-04 08:42:12 +1100 |
|---|---|---|
| committer | Michael Hoang <enzime@users.noreply.github.com> | 2024-11-07 15:26:53 +1100 |
| commit | e0f243d17e5c6281b2541c79b52be0270be9a360 (patch) | |
| tree | 211ab97705e6fd2bfefb3ba0cfd965e10faf5d7a /.github | |
| parent | 68637ee7dbdb194755697930c36272ad115af4a6 (diff) | |
ci: run nix flake check
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/test.yml | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 709edd3..176d56f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,9 +18,7 @@ jobs: uses: cachix/install-nix-action@v30 with: install_url: https://releases.nixos.org/nix/nix-2.18.8/install - - run: nix-build ./release.nix -I nixpkgs=channel:${{ env.CURRENT_STABLE_CHANNEL }} -I darwin=. -A tests - - run: nix-build ./release.nix -I nixpkgs=channel:${{ env.CURRENT_STABLE_CHANNEL }} -I darwin=. -A docs - - run: nix-build ./release.nix -I nixpkgs=channel:${{ env.CURRENT_STABLE_CHANNEL }} -I darwin=. -A examples + - run: nix flake check --override-input nixpkgs nixpkgs/${{ env.CURRENT_STABLE_CHANNEL }} test-unstable: runs-on: macos-13 @@ -31,9 +29,7 @@ jobs: uses: cachix/install-nix-action@v30 with: install_url: https://releases.nixos.org/nix/nix-2.24.9/install - - run: nix-build ./release.nix -I nixpkgs=channel:nixpkgs-unstable -I darwin=. -A tests - - run: nix-build ./release.nix -I nixpkgs=channel:nixpkgs-unstable -I darwin=. -A docs - - run: nix-build ./release.nix -I nixpkgs=channel:nixpkgs-unstable -I darwin=. -A examples + - run: nix flake check --override-input nixpkgs nixpkgs/nixpkgs-unstable install-against-stable: runs-on: macos-13 |
