Skip to content

Commit

Permalink
no checkout in CI
Browse files Browse the repository at this point in the history
fix ci
  • Loading branch information
viperML committed Nov 30, 2023
1 parent fbbffc7 commit 83c5d89
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,14 @@ jobs:
- name: Install Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@main

- name: Checkout
uses: actions/checkout@v3

- run: nix build github:$GITHUB_REPOSITORY/$GITHUB_SHA -L

- name: NixOS check
run: |
sudo mkdir -pv result-nixos
sudo mount -t tmpfs none ./result-nixos
sudo nixos-install \
nix build nixpkg#nixos-install-tools
sudo ./result/bin/nixos-install \
--flake github:$GITHUB_REPOSITORY/$GITHUB_SHA#check \
--root $PWD/result-nixos \
--no-root-passwd \
Expand Down

0 comments on commit 83c5d89

Please sign in to comment.