Skip to content
This repository has been archived by the owner on Jan 12, 2025. It is now read-only.

Commit

Permalink
Update nix.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pilz0 authored Apr 12, 2024
1 parent bb78f51 commit 44e6014
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
name: "Test"
on:
push:
branches: [ "main" ]
on:
pull_request:
branches: [ "main" ]

push:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-unstable
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- run: nix build
- run: nixos-rebuild switch
- run: nix flake check
- run: ls #debuging
- run: nixos-rebuild --flake . switch

0 comments on commit 44e6014

Please # to comment.