From 94804e5fa64dd24be4281c19f466990f8e280983 Mon Sep 17 00:00:00 2001 From: frectonz Date: Sat, 5 Oct 2024 23:11:15 +0300 Subject: [PATCH] feat: add nix ci workflow --- .github/workflows/ci-nix.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/ci-nix.yml diff --git a/.github/workflows/ci-nix.yml b/.github/workflows/ci-nix.yml new file mode 100644 index 0000000..f4c1b0b --- /dev/null +++ b/.github/workflows/ci-nix.yml @@ -0,0 +1,21 @@ +name: Nix CI + +on: + pull_request: + push: + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: DeterminateSystems/nix-installer-action@main + - uses: DeterminateSystems/magic-nix-cache-action@main + + - name: Run Flake Check + run: nix flake check + + - name: Run a Build + run: nix build .#default +