Skip to content

Add nix support

Add nix support #12

Workflow file for this run

name: yamllint
"on":
pull_request:
branches: [main]
paths:
- '**.nix'
- '**.yaml'
- '**.yml'
- .github/workflows/yamllint.yaml
- flake.lock
push:
branches: [main]
paths:
- '**.nix'
- '**.yaml'
- '**.yml'
- .github/workflows/yamllint.yaml
- flake.lock
jobs:
yamllint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v14
- uses: DeterminateSystems/magic-nix-cache-action@v8
- name: Check YAML files
run: nix develop --command yamllint --format github .