nix-microscopy/.gitea/workflows/build.yaml
2023-10-05 18:04:47 +02:00

31 lines
496 B
YAML

---
name: build
on: push
jobs:
check:
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Nix
uses: ./.gitea/actions/setup-nix
- name: Nix check
run: nix flake check
build:
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Nix
uses: ./.gitea/actions/setup-nix
- name: Nix build
run: nix build .#