dotfiles/.gitea/workflows/build.yaml

24 lines
660 B
YAML

name: use nix
on: push
env:
DEV_SHELL_NAME: CI
jobs:
build:
runs-on: node-latest
steps:
- name: Install dependencies
run: |
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install linux \
--extra-conf "sandbox = false" \
--init none \
--no-confirm
- uses: actions/checkout@v3
- name: Check Nix flake inputs
uses: https://github.com/DeterminateSystems/flake-checker-action@v4
- name: Check
run: |
nix flake metadata
nix flake check
nix --no-sandbox develop -c statix check