Skip to content

Commit

Permalink
feat: add ruff check as GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
minijackson committed Dec 5, 2023
1 parent eec263f commit 96b90c4
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 96b90c4

Please sign in to comment.