dotfiles/.gitea/workflows/build.yaml

19 lines
378 B
YAML
Raw Normal View History

2023-06-03 10:48:41 +01:00
name: use nix
on: push
env:
DEV_SHELL_NAME: CI
2023-06-02 12:22:44 +01:00
jobs:
2023-06-03 10:48:41 +01:00
build:
runs-on: nix-node
2023-06-02 12:22:44 +01:00
2023-06-03 10:48:41 +01:00
steps:
- uses: actions/checkout@v3
- uses: https://github.com/workflow/nix-shell-action@v3
with:
flakes: .#devShells.x86_64-linux.default
script: |
nix flake metadata
nix --no-sandbox develop -c statix check
nix flake check