Template
Compare commits
1
Commits
main
..
2cfa82a033
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2cfa82a033 |
@@ -0,0 +1,18 @@
|
|||||||
|
name: Lint
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
pre-commit-lint:
|
||||||
|
name: pre-commit Linting
|
||||||
|
runs-on: pi
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||||
|
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
|
||||||
|
- run: pip install pre-commit
|
||||||
|
shell: bash
|
||||||
|
- name: Pre Commit
|
||||||
|
run: SKIP=no-commit-to-branch pre-commit run -a
|
||||||
|
shell: bash
|
||||||
@@ -24,7 +24,7 @@ repos:
|
|||||||
|
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
# Ruff version.
|
# Ruff version.
|
||||||
rev: v0.16.5
|
rev: v0.15.20
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
args: [--fix, --exit-non-zero-on-fix]
|
args: [--fix, --exit-non-zero-on-fix]
|
||||||
@@ -79,7 +79,7 @@ repos:
|
|||||||
- mdformat-gfm
|
- mdformat-gfm
|
||||||
|
|
||||||
- repo: https://github.com/python-jsonschema/check-jsonschema
|
- repo: https://github.com/python-jsonschema/check-jsonschema
|
||||||
rev: 0.38.0
|
rev: 0.37.4
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-jsonschema
|
- id: check-jsonschema
|
||||||
name: Check Gitea Workflows
|
name: Check Gitea Workflows
|
||||||
|
|||||||
Reference in New Issue
Block a user