Skip to content

Commit f40abf9

Browse files
committed
✨ Feat: added workflow action to test mypy
1 parent 6342d8d commit f40abf9

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/mypy.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Test paste.py 🐍
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v3
13+
- name: Setup PDM
14+
uses: pdm-project/setup-pdm@v3
15+
with:
16+
python-version: 3.11
17+
cache: true
18+
cache-dependency-path: "**/pdm.lock"
19+
- name: Install dependencies
20+
run: pdm install
21+
- name: Run mypy
22+
run: pdm mypy

0 commit comments

Comments
 (0)