Add workflow to build and test
All checks were successful
Build & Test / nix-build (push) Successful in 1m29s

This commit is contained in:
Kodi Craft 2024-07-07 11:52:57 +02:00
parent 77912a1d84
commit b0a85aaefc
Signed by: kodi
GPG Key ID: 69D9EED60B242822

View File

@ -0,0 +1,22 @@
name: Build & Test
on:
push:
branches:
- main
pull_request:
jobs:
nix-build:
runs-on: nix
steps:
- uses: actions/checkout@v3
- name: Run checks
run: nix flake check
- name: Build
run: nix build
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
path: result
name: build