mirror of
https://github.com/NixOS/nix
synced 2025-07-17 22:48:29 +02:00
ci: Dogfood Nix from master
This commit is contained in:
parent
e8314e69ab
commit
04f6974d2c
2 changed files with 59 additions and 5 deletions
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
|
@ -13,10 +13,13 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: cachix/install-nix-action@v31
|
||||
- uses: ./.github/actions/install-nix-action
|
||||
with:
|
||||
install_url: "https://releases.nixos.org/nix/nix-2.29.1/install"
|
||||
- run: nix --experimental-features 'nix-command flakes' flake show --all-systems --json
|
||||
dogfood: true
|
||||
extra_nix_config:
|
||||
experimental-features = nix-command flakes
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- run: nix flake show --all-systems --json
|
||||
|
||||
tests:
|
||||
strategy:
|
||||
|
@ -36,9 +39,10 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: cachix/install-nix-action@v31
|
||||
- uses: ./.github/actions/install-nix-action
|
||||
with:
|
||||
install_url: "https://releases.nixos.org/nix/nix-2.29.1/install"
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
dogfood: true
|
||||
# The sandbox would otherwise be disabled by default on Darwin
|
||||
extra_nix_config: |
|
||||
sandbox = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue