Skip to content

Commit 0742272

Browse files
committed
use pre-commit workflow
1 parent 3797608 commit 0742272

File tree

2 files changed

+18
-38
lines changed

2 files changed

+18
-38
lines changed

.github/workflows/pre-commit.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: pre-commit
2+
3+
on:
4+
push:
5+
pull_request:
6+
branches: [ master ]
7+
workflow_dispatch:
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-22.04
12+
13+
steps:
14+
- uses: actions/checkout@v5
15+
- uses: actions/setup-python@v6
16+
with:
17+
python-version: '3.11'
18+
- uses: pre-commit/action@v3.0.1

.github/workflows/style.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)