silly goober bot
1name: Test
2
3on:
4 workflow_dispatch:
5 pull_request:
6 push:
7 paths:
8 - "src/**"
9 - "*.nix"
10 - "*.toml"
11
12jobs:
13 check-flake:
14 runs-on: ubuntu-latest
15
16 steps:
17 - name: Checkout
18 uses: actions/checkout@v4
19
20 - name: Install Lix
21 run: |
22 curl -sSf -L https://install.lix.systems/lix | sh -s -- install --no-confirm
23 echo "trusted-users = root worker" | sudo tee -a /etc/nix/nix.conf
24 echo "experimental-features = nix-command flakes" | sudo tee -a /etc/nix/nix.conf
25 sudo systemctl restart nix-daemon
26
27 - name: Check Flake
28 run: nix build -L .