dotfiles/.gitea/workflows/build.yaml

23 lines
No EOL
603 B
YAML

name: use nix
on: push
env:
DEV_SHELL_NAME: CI
jobs:
build:
runs-on: linux_amd64
steps:
- name: Hello
run: |
echo "Hello and welcome"
- uses: actions/checkout@v3
name: Checkout
- name: Metadata
run: |
nix --extra-experimental-features 'nix-command flakes' flake metadata
- name: Statix
run: |
nix --no-sandbox --extra-experimental-features 'nix-command flakes' develop -c statix check
- name: Flake check
run: |
nix --extra-experimental-features 'nix-command flakes' flake check