Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 570 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 570 Bytes

statix-action

Automatically creates pull requests to lint Nix files

Usage

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

Inspiration

Thanks to deadnix-action