Automatically creates pull requests to lint Nix files
Create a .github/workflows/statix.yml
file:
on: [push]
name: Lint Nix code
jobs:
statix:
name: Lint code
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: cachix/install-nix-action@v18
- uses: cachix/cachix-action@v12
with:
name: statix
- uses: jocelynthode/statix-action@master
Thanks to deadnix-action