Skip to content

Commit

Permalink
Add basic formatting workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ma595 committed Nov 12, 2024
1 parent 8c8a1dc commit 91606de
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/formatting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Formatting
on:
pull_request:
branches:
- main
push:
branches:
- main

jobs:
formatting:
runs-on: ubuntu-latest
name: Code Formatting and Trailing Whitespace Check
steps:
- name: Check out code
uses: actions/checkout@v4

- name: Run Ruff for code formatting check
uses: astral-sh/ruff-action@v1
with:
args: "format --check"

0 comments on commit 91606de

Please sign in to comment.