Add build workflow

This commit is contained in:
Torjus Håkestad 2024-10-02 23:09:32 +02:00
parent cc6a3848ca
commit 3e026c9a35

15
.github/workflows/build.yaml vendored Normal file
View File

@ -0,0 +1,15 @@
name: build
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/catthehacker/ubuntu:runner-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v27
- run: nix flake check
- run: nix build