Skip to content

Merge pull request #11 from Gaming32/snyk-fix-026d533a9dd8e1c1c21f4be… #185

Merge pull request #11 from Gaming32/snyk-fix-026d533a9dd8e1c1c21f4be…

Merge pull request #11 from Gaming32/snyk-fix-026d533a9dd8e1c1c21f4be… #185

Workflow file for this run

name: PYZ
on: [push, pull_request, workflow_dispatch]
jobs:
build_pyz_and_typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python 3.9
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install dependencies
run: python -m pip install -Ur requirements.txt -r requirements-dev.txt pyright
- name: Perform typecheck
run: pyright and_beyond *.py
- name: Build client
run: python to_pyz.py
- name: Build Server
run: python to_pyz_server.py
- name: Upload PYZs
uses: actions/upload-artifact@v2
with:
name: pyz-executable
path: dist/*.pyz