Skip to content

Commit

Permalink
Run on latest windows and linux runners; ensure python 3.10 version
Browse files Browse the repository at this point in the history
  • Loading branch information
DevilXD committed Jan 19, 2024
1 parent 91f2dac commit b754f5e
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@ on:
pull_request:
workflow_dispatch:

env:
PYTHON_VERSION: '3.10'

jobs:
windows:
name: Windows
runs-on: windows-2022
runs-on: windows-latest

steps:
- name: Checkout code
Expand All @@ -27,6 +30,11 @@ jobs:
-Replace '^__version__\s*=\s*"[^"]+', "`$0.${{ steps.vars.outputs.sha_short }}" |`
Out-File version.py
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: $PYTHON_VERSION

- name: Set up Python virtual environment
run: |
python3 -m venv env
Expand Down Expand Up @@ -70,7 +78,7 @@ jobs:

linux-pyinstaller:
name: Linux (PyInstaller)
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- name: Checkout code
Expand All @@ -89,7 +97,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: $PYTHON_VERSION

- name: Install system dependencies
run: |
Expand Down Expand Up @@ -147,7 +155,7 @@ jobs:

linux-appimage:
name: Linux (AppImage)
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- name: Checkout code
Expand Down Expand Up @@ -201,7 +209,7 @@ jobs:
- windows
- linux-pyinstaller
- linux-appimage
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
permissions:
contents: write

Expand Down

0 comments on commit b754f5e

Please sign in to comment.