Skip to content

jocelynthode/statix-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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/checkout@v3.1.0
          - uses: cachix/install-nix-action@v18
          - uses: cachix/cachix-action@v12
            with:
              name: statix
          - uses: jocelynthode/statix-action@master

Inspiration

Thanks to deadnix-action