Skip to content

Lint and build

Lint and build #4

Workflow file for this run

name: Lint and build
on:
workflow_dispatch:
jobs:
ruff:
name: Lint
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
with:
args: --output-format github
build:
name: Build binary
runs-on: "windows-latest"
strategy:
fail-fast: false
matrix:
os: ['windows-latest']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.12
cache: 'pip'
- run: pip install -r requirements.txt pyinstaller
- run: pyinstaller script.py --name sgplus --noconfirm --onefile --add-binary "autoit\AutoItX3_x64.dll;.\autoit\lib" --hidden-import "mouse"
- uses: actions/upload-artifact@v3
with:
path: dist/sgplus.exe