From 3518216bf7394366788306d078975b110a3ca86f Mon Sep 17 00:00:00 2001 From: Levi Naden Date: Fri, 19 Apr 2024 12:36:56 -0400 Subject: [PATCH 1/3] Update action versions for setup-python and artifacts --- .github/workflows/verify-ghas.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/verify-ghas.yaml b/.github/workflows/verify-ghas.yaml index 569bd76..7b83a2a 100644 --- a/.github/workflows/verify-ghas.yaml +++ b/.github/workflows/verify-ghas.yaml @@ -10,7 +10,6 @@ on: pull_request: branches: - "main" - - "review23" schedule: # Nightly tests run on main by default: # Scheduled workflows run on the latest commit on the default or base branch. @@ -36,7 +35,7 @@ jobs: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -64,7 +63,7 @@ jobs: - name: "Upload artifacts" if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == 3.9 }} # Upload only if ubuntu and latest python (only need to run once) - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: cookiecutter_outputs path: artifact_upload @@ -83,7 +82,7 @@ jobs: - uses: actions/checkout@v4 - name: "Fetch Artifacts" - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: cookiecutter_outputs From bd546cd0e534930c3bd0cccec18d3f6952d875dc Mon Sep 17 00:00:00 2001 From: Levi Naden Date: Fri, 19 Apr 2024 12:39:04 -0400 Subject: [PATCH 2/3] Bump the major revision given the large number of changes since the 1.0 version. --- cookiecutter.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookiecutter.json b/cookiecutter.json index 0aeccf7..92926f1 100644 --- a/cookiecutter.json +++ b/cookiecutter.json @@ -19,5 +19,5 @@ ], "include_ReadTheDocs": ["y", "n"], - "_cms_cc_version": 1.10 + "_cms_cc_version": 2.0 } From 14b8ae4c059eba86751a423487ef5841e44deb92 Mon Sep 17 00:00:00 2001 From: Levi Naden Date: Fri, 19 Apr 2024 15:30:03 -0400 Subject: [PATCH 3/3] Use v4 artifacts everywhere --- .github/workflows/verify-ghas.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/verify-ghas.yaml b/.github/workflows/verify-ghas.yaml index 7b83a2a..e36d7e2 100644 --- a/.github/workflows/verify-ghas.yaml +++ b/.github/workflows/verify-ghas.yaml @@ -189,7 +189,7 @@ jobs: ulimit -a - name: "Fetch Artifacts" - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: cookiecutter_outputs