diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml new file mode 100644 index 00000000..6e76f264 --- /dev/null +++ b/.github/workflows/format.yml @@ -0,0 +1,17 @@ +name: Format check + +on: [push, pull_request] + +jobs: + check: + name: Format check + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - uses: astral-sh/ruff-action@v1 + continue-on-error: true + with: + args: "format --check" + changed-files: "true"