diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e96a793..f00534c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: | diff --git a/.github/workflows/modules.yml b/.github/workflows/modules.yml index e084a7b..940abc1 100644 --- a/.github/workflows/modules.yml +++ b/.github/workflows/modules.yml @@ -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: | diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 0bea4de..d595205 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -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