Refactor some repeated actions out of workflows.

This commit is contained in:
Dan Albert
2022-06-26 13:06:18 -07:00
parent e751b53241
commit 2a5e12dfc5
6 changed files with 82 additions and 65 deletions

16
.github/actions/mypy/action.yaml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: mypy
description: Type checks Python code.
runs:
using: composite
steps:
- name: mypy game
shell: powershell
run: |
./venv/scripts/activate
mypy game
- name: mypy tests
shell: powershell
run: |
./venv/scripts/activate
mypy tests