Add GitHub Annotions to ruff output (#364)

* Add GitHub Annotions to ruff output
* Upgrade GitHub Actions
* No Py3.11
This commit is contained in:
Christian Clauss
2023-07-15 14:42:13 +02:00
committed by GitHub
parent e7270d6a07
commit a6e1a3de12
2 changed files with 10 additions and 12 deletions
+7 -9
View File
@@ -1,21 +1,19 @@
name: Ruff
on: [push]
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
ruff_py3:
name: Ruff syntax check
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.9
architecture: x64
- name: Checkout
uses: actions/checkout@master
- name: Install Dependencies
run: |
pip install ruff
pip install --user ruff
- name: ruff
run: |
ruff check .
ruff --format=github .