Skip to content

Github action

Github action #1

Workflow file for this run

name: build
on:
push:
pull_request:
jobs:
check:
runs-on: ubuntu-22.04
permissions:
id-token: "write"
contents: "read"
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v12
with:
source-url: "https://github.com/DeterminateSystems/nix-installer/releases/download/v0.19.0/nix-installer-x86_64-linux"
- uses: DeterminateSystems/magic-nix-cache-action@v7
- name: Unit tests
run: nix develop --command dotnet test