dotfiles/.gitea/workflows/build.yaml

26 lines
No EOL
643 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: Checkout
- name: Metadata
run: |
nix flake metadata
- name: Statix
run: |
nix --no-sandbox develop -c statix check
- name: Flake check
run: |
nix flake check