19 lines
336 B
YAML
19 lines
336 B
YAML
|
name: "Nix"
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches: [ "main" ]
|
||
|
pull_request:
|
||
|
branches: [ "main" ]
|
||
|
|
||
|
jobs:
|
||
|
tests:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v3
|
||
|
- uses: cachix/install-nix-action@v22
|
||
|
with:
|
||
|
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||
|
- run: nix build
|
||
|
- run: nix flake check
|