Skip to content

Commit

Permalink
Merge pull request #29 from octodns/python-versions
Browse files Browse the repository at this point in the history
CI Python versions from org level variables
  • Loading branch information
ross authored Oct 5, 2023
2 parents 753bb8a + eeea9fa commit 4602d48
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ jobs:
strategy:
fail-fast: false
matrix:
# Tested versions based on dates in https://devguide.python.org/versions/#versions
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ${{fromJson(vars.PYTHON_VERSIONS_ACTIVE)}}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
Expand All @@ -22,11 +21,11 @@ jobs:
setup-py:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: ${{ vars.PYTHON_VERSION_CURRENT }}
architecture: x64
- name: CI setup.py
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v4
- uses: actions/stale@v8
with:
stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
days-before-stale: 90
Expand Down

0 comments on commit 4602d48

Please sign in to comment.