jiaulislam commited on
Commit
df8d23b
·
1 Parent(s): 57badcd

Adding github action of pre-commit

Browse files
Files changed (1) hide show
  1. .github/workflows/pre-commit.yml +14 -0
.github/workflows/pre-commit.yml ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ on:
2
+ pull_request:
3
+ push:
4
+ branches: [main]
5
+
6
+ jobs:
7
+ main:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v3
11
+ - uses: actions/setup-python@v4
12
+ with:
13
+ python-version: 3.7
14
+ - uses: pre-commit/[email protected]