Add linter and lint existing files #77
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: MOR Agents Build Windows | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pyinstaller | |
pip install -r requirements.txt | |
- name: Build with PyInstaller | |
run: pyinstaller --icon=images/moragents.ico --name=MORagents main.py | |
- name: Install Inno Setup | |
run: choco install innosetup -y | |
- name: Compile Inno Setup Script | |
run: | | |
iscc /O".\MORagentsWindowsInstaller" "wizard_windows.iss" | |
- name: Upload Installer | |
uses: actions/upload-artifact@v4 | |
with: | |
name: MORagentsSetup | |
path: .\MORagentsWindowsInstaller\MORagentsSetup.exe |