From 8f72e6562c9668a70cb20dcfcd88b8117386f67e Mon Sep 17 00:00:00 2001 From: Matthew Watkins Date: Mon, 4 Mar 2024 19:13:23 +0000 Subject: [PATCH] Chore: Update GitHub actions for setup-python and artefact upload/download Issue: RELENG-5176 Change-Id: Ib9703988106f6d4223e9c6d7035a8cf39c904f09 Signed-off-by: Matthew Watkins --- .github/workflows/gerrit-verify.yaml | 16 ++++++++-------- .github/workflows/release.yaml | 2 +- .../notes/bump-action-versions-985b1d2d32900220.yaml | 4 ++++ 3 files changed, 13 insertions(+), 9 deletions(-) create mode 100644 releasenotes/notes/bump-action-versions-985b1d2d32900220.yaml diff --git a/.github/workflows/gerrit-verify.yaml b/.github/workflows/gerrit-verify.yaml index d69b43d1..aab6e84f 100644 --- a/.github/workflows/gerrit-verify.yaml +++ b/.github/workflows/gerrit-verify.yaml @@ -73,7 +73,7 @@ jobs: with: gerrit-refspec: ${{ inputs.GERRIT_REFSPEC }} - name: Configure Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.8' - name: Build package distribution files @@ -85,7 +85,7 @@ jobs: - name: Store the distribution files for use in other stages # `tests` and `publish` will use the same pre-built distributions, # so we make sure to release the exact same package that was tested - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: python-distribution-files path: dist/ @@ -100,7 +100,7 @@ jobs: with: gerrit-refspec: ${{ inputs.GERRIT_REFSPEC }} - name: Configure Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.8' - name: Run static analysis and format checkers @@ -121,12 +121,12 @@ jobs: gerrit-refspec: ${{ inputs.GERRIT_REFSPEC }} delay: "0s" - name: Configure Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 id: setup-python with: python-version: ${{ matrix.python }} - name: Retrieve pre-built distribution files - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: {name: python-distribution-files, path: dist/} - name: Enable sar run: | @@ -150,7 +150,7 @@ jobs: delay: "0s" fetch-depth: "0" - name: Configure Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 id: setup-python with: python-version: "3.8" @@ -170,7 +170,7 @@ jobs: delay: "0s" fetch-depth: "0" - name: Configure Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 id: setup-python with: python-version: "3.8" @@ -189,7 +189,7 @@ jobs: delay: "0s" fetch-depth: "0" - name: Configure Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 id: setup-python with: python-version: "3.8" diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9de5708b..463cfb90 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -12,7 +12,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - name: Configure Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.8" - name: Build package distribution files diff --git a/releasenotes/notes/bump-action-versions-985b1d2d32900220.yaml b/releasenotes/notes/bump-action-versions-985b1d2d32900220.yaml new file mode 100644 index 00000000..4846b82c --- /dev/null +++ b/releasenotes/notes/bump-action-versions-985b1d2d32900220.yaml @@ -0,0 +1,4 @@ +--- +other: + - | + Update GitHub actions for setup-python and upload/download artefacts -- 2.16.6