From 6a6b1600b9781d3534d0f8eea17c4e4820b3291c Mon Sep 17 00:00:00 2001 From: Ross McFarland Date: Thu, 5 Oct 2023 14:35:21 -0700 Subject: [PATCH 1/2] Bump github actions versions to latest --- .github/workflows/main.yml | 8 ++++---- .github/workflows/stale.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dd8440e..e51b229 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,9 +10,9 @@ jobs: # Tested versions based on dates in https://devguide.python.org/versions/#versions python-version: ['3.8', '3.9', '3.10', '3.11'] 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 @@ -22,9 +22,9 @@ 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' architecture: x64 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 From 105d74dce1bd2bffc33df8e4906529de44ed0178 Mon Sep 17 00:00:00 2001 From: Ross McFarland Date: Thu, 5 Oct 2023 14:37:08 -0700 Subject: [PATCH 2/2] ci python versions from org level variables --- .github/workflows/main.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e51b229..be2a6b8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,8 +7,7 @@ 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@v4 - name: Setup python @@ -26,7 +25,7 @@ jobs: - name: Setup python uses: actions/setup-python@v4 with: - python-version: '3.11' + python-version: ${{ vars.PYTHON_VERSION_CURRENT }} architecture: x64 - name: CI setup.py run: |