Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .github/workflows/check_flake.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build Nix Package

on:
push:
branches: [ main ]
paths:
- 'flake.lock'
- 'flake.nix'
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6

- name: Install Nix
uses: cachix/install-nix-action@v31
with:
nix_path: nixpkgs=channel:nixos-unstable

- name: Setup Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@v13

- name: Check flake
run: nix flake check

- name: Build package
run: nix build .
Loading