Skip to content

Commit 7fbfaeb

Browse files
authored
Merge pull request #431 from Pycord-Development/core/actions
Add more Actions for CI/CD to check PRs & commits
2 parents 391d200 + 8725f1a commit 7fbfaeb

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.github/workflows/bandit.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: bandit
2+
on: [pull_request, push]
3+
jobs:
4+
bandit:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v2
8+
- uses: actions/setup-python@v2
9+
- run: pip install bandit
10+
- run: bandit --recursive --skip B101,B104,B105,B110,B307,B311,B404,B603,B607 .

.github/workflows/mypy.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: mypy
2+
on: [pull_request, push]
3+
jobs:
4+
mypy:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v2
8+
- uses: actions/setup-python@v2
9+
- run: pip install mypy
10+
- run: pip install -r requirements.txt
11+
- run: mkdir --parents --verbose .mypy_cache
12+
- run: mypy --ignore-missing-imports --install-types --non-interactive . || true

0 commit comments

Comments
 (0)