Skip to content

Commit

Permalink
Fix Python version to use supported versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Symbolexe authored Sep 22, 2024
1 parent ecc079b commit 9ea955d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,20 @@ on:
jobs:
build:

# Use the latest Ubuntu image to run the job
runs-on: ubuntu-latest

# Define supported Python versions (Python 3.1 is not supported)
strategy:
matrix:
# Use supported Python versions (3.6 and above)
python-version: [3.8, 3.9, 3.10]
python-version: [3.8, 3.9, 3.10] # These are valid Python versions

steps:
- name: Checkout code
uses: actions/checkout@v2 # Checkout the repository
uses: actions/checkout@v2 # Checkout the repository code

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2 # Set up Python using supported versions
uses: actions/setup-python@v2 # Set up Python using valid versions
with:
python-version: ${{ matrix.python-version }}

Expand Down

0 comments on commit 9ea955d

Please sign in to comment.