diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml new file mode 100644 index 0000000..8cb6888 --- /dev/null +++ b/.github/workflows/ruff.yml @@ -0,0 +1,16 @@ +name: "Check Formatting" + +permissions: read-all + +on: + push: + pull_request: + +jobs: + alejandra: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: cachix/install-nix-action@v20 + - name: "Check Ruff lints" + run: nix run 'nixpkgs#ruff' -- check . --output-format=github