This commit is contained in:
24
.gitea/workflows/test.yaml
Normal file
24
.gitea/workflows/test.yaml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
name: pre-commit
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
precommit:
|
||||||
|
steps:
|
||||||
|
- name: checkout code
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: python
|
||||||
|
uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: '3.12'
|
||||||
|
|
||||||
|
- name: install
|
||||||
|
run: |
|
||||||
|
pip install pre-commit
|
||||||
|
|
||||||
|
- name: run
|
||||||
|
run: pre-commit
|
||||||
Reference in New Issue
Block a user