Update .gitea/workflows/test.yaml
Some checks failed
pre-commit / precommit (push) Has been cancelled
Some checks failed
pre-commit / precommit (push) Has been cancelled
This commit is contained in:
@@ -7,18 +7,20 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
precommit:
|
precommit:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container: catthehacker/ubuntu:act-latest
|
||||||
steps:
|
steps:
|
||||||
- name: checkout code
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: python
|
- name: Setup Python 3.12
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.12'
|
python-version: '3.12'
|
||||||
|
|
||||||
- name: install
|
- name: Install pre-commit
|
||||||
run: |
|
run: |
|
||||||
pip install pre-commit
|
pip install pre-commit
|
||||||
|
|
||||||
- name: run
|
- name: Run pre-commit hooks
|
||||||
run: pre-commit
|
run: pre-commit
|
||||||
|
|||||||
Reference in New Issue
Block a user