mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
Merge pull request #1081 from octodns/secret-python-versions
CI pulls python versions from org secret
This commit is contained in:
11
.github/workflows/main.yml
vendored
11
.github/workflows/main.yml
vendored
@@ -7,12 +7,13 @@ 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']
|
||||
# Defined in an org level variable, based on dates in
|
||||
# https://devguide.python.org/versions/#versions
|
||||
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
|
||||
@@ -41,7 +42,7 @@ jobs:
|
||||
- name: Setup python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.11'
|
||||
python-version: ${{ vars.PYTHON_VERSION_CURRENT }}
|
||||
architecture: x64
|
||||
- name: CI setup.py
|
||||
run: |
|
||||
|
||||
10
.github/workflows/modules.yml
vendored
10
.github/workflows/modules.yml
vendored
@@ -42,15 +42,11 @@ jobs:
|
||||
# some point in the future and either re-enable or delete it.
|
||||
#- sukiyaki/octodns-netbox
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup python
|
||||
uses: actions/setup-python@v1
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
# This should generally be the latest stable release of python, but
|
||||
# dyn and ovh don't currently support changes made in 3.10 so we'll
|
||||
# leave it 3.9 for now. Once 3.11 lands though we'll bump to it and
|
||||
# if they haven't updated they'll be removed from the matrix
|
||||
python-version: '3.9'
|
||||
python-version: ${{ vars.PYTHON_VERSION_CURRENT }}
|
||||
architecture: x64
|
||||
- name: Test Module
|
||||
run: |
|
||||
|
||||
2
.github/workflows/stale.yml
vendored
2
.github/workflows/stale.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user