mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Refactor some repeated actions out of workflows.
This commit is contained in:
16
.github/actions/mypy/action.yaml
vendored
Normal file
16
.github/actions/mypy/action.yaml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user