diff options
Diffstat (limited to '.github/workflows/formatting_check.yml')
| -rw-r--r-- | .github/workflows/formatting_check.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/formatting_check.yml b/.github/workflows/formatting_check.yml new file mode 100644 index 0000000..fadbadd --- /dev/null +++ b/.github/workflows/formatting_check.yml @@ -0,0 +1,26 @@ +name: formatting check + +on: + push: + pull_request: + +jobs: + formatting-check: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: [ "3.13" ] + + steps: + - uses: actions/checkout@v4 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5.3.0 + with: + python-version: ${{ matrix.python-version }} + + - name: Install requirements + run: pip install -r requirements.txt + + - name: Check formatting + run: ruff format --check |
