⚗️ add ruff workflow and code-spell pre-commit

This commit is contained in:
Ondřej Samohel 2024-03-18 14:57:05 +01:00
parent 511650ef0b
commit f6e8465dca
No known key found for this signature in database
GPG key ID: 02376E18990A97C6
6 changed files with 344 additions and 9 deletions

24
.github/workflows/pr_linting.yml vendored Normal file
View file

@ -0,0 +1,24 @@
name: 📇 Code Linting
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number}}
cancel-in-progress: true
permissions:
contents: read
pull-requests: write
jobs:
linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1