blob: 16e490a4609c49d593e1553adfc9c982a65e39c2 [file] [log] [blame]
Ankush Menat65279c22021-09-01 15:52:16 +05301name: Linters
2
3on:
4 pull_request: { }
5
6jobs:
7
8 linters:
9 name: linters
10 runs-on: ubuntu-latest
11 steps:
12 - uses: actions/checkout@v2
13 - uses: returntocorp/semgrep-action@v1
14 env:
15 SEMGREP_TIMEOUT: 120
16 with:
17 config: >-
18 r/python.lang.correctness
19 .github/helper/semgrep_rules
20
21 - name: Set up Python 3.8
22 uses: actions/setup-python@v2
23 with:
24 python-version: 3.8
25
26 - name: Install and Run Pre-commit
Chillar Anand915b3432021-09-02 16:44:59 +053027 uses: pre-commit/action@v2.0.3