Skip to content

Commit 0ac8e4a

Browse files
committed
Add static analysis action
Fixes #6
1 parent 51fd9cf commit 0ac8e4a

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/static-analysis.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
3+
name: static-analysis
4+
5+
on:
6+
push:
7+
pull_request:
8+
9+
jobs:
10+
static-analysis:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
with:
15+
persist-credentials: false
16+
- uses: actions/setup-python@v5
17+
- run: pip install yamllint flake8 bandit
18+
- run: yamllint .github/workflows/
19+
- run: flake8 coturn_exporter
20+
- run: bandit coturn_exporter
21+
22+
...

0 commit comments

Comments
 (0)