Chore: Update GitHub actions for setup-python and artefact upload/download 23/72723/1
authorMatthew Watkins <mwatkins@linuxfoundation.org>
Mon, 4 Mar 2024 19:13:23 +0000 (19:13 +0000)
committerMatthew Watkins <mwatkins@linuxfoundation.org>
Mon, 4 Mar 2024 19:13:23 +0000 (19:13 +0000)
Issue: RELENG-5176
Change-Id: Ib9703988106f6d4223e9c6d7035a8cf39c904f09
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
.github/workflows/gerrit-verify.yaml
.github/workflows/release.yaml
releasenotes/notes/bump-action-versions-985b1d2d32900220.yaml [new file with mode: 0644]

index d69b43d..aab6e84 100644 (file)
@@ -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"
index 9de5708..463cfb9 100644 (file)
@@ -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 (file)
index 0000000..4846b82
--- /dev/null
@@ -0,0 +1,4 @@
+---
+other:
+  - |
+    Update GitHub actions for setup-python and upload/download artefacts