mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-04-01 22:02:44 +00:00
25 lines
685 B
YAML
25 lines
685 B
YAML
name: Lint
|
|
on:
|
|
push:
|
|
branches-ignore:
|
|
- 'translations**'
|
|
pull_request:
|
|
branches-ignore:
|
|
- 'translations**'
|
|
concurrency:
|
|
group: lint-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
jobs:
|
|
lint:
|
|
name: Linting via prek
|
|
runs-on: ubuntu-slim
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
- name: Install Python
|
|
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
|
|
with:
|
|
python-version: "3.14"
|
|
- name: Run prek
|
|
uses: j178/prek-action@0bb87d7f00b0c99306c8bcb8b8beba1eb581c037 # v1.1.1
|