From 1d7a6b0719741ca868887bf02cbe629044e35b65 Mon Sep 17 00:00:00 2001 From: ScriptAutomate Date: Thu, 9 May 2024 10:36:34 -0500 Subject: [PATCH] Upgrade GitHub Actions to latest major versions --- .github/workflows/build-image-action.yml | 8 ++++---- .github/workflows/ci.yml | 12 ++++++------ .github/workflows/generate-configs-action.yml | 6 +++--- .github/workflows/pre-commit-action.yml | 6 +++--- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build-image-action.yml b/.github/workflows/build-image-action.yml index 743c068de..057f739e5 100644 --- a/.github/workflows/build-image-action.yml +++ b/.github/workflows/build-image-action.yml @@ -28,7 +28,7 @@ jobs: matrix-include: ${{ steps.generate-matrix.outputs.matrix }} steps: - name: Checkout Source Code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Python Tools Scripts env: @@ -59,7 +59,7 @@ jobs: steps: - name: Checkout Source Code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Packer uses: hashicorp-contrib/setup-packer@v2 @@ -96,7 +96,7 @@ jobs: - name: Upload Build Manifest if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: manifest path: manifest @@ -110,7 +110,7 @@ jobs: - name: Upload Exit Status if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: exitstatus path: exitstatus diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8f6bbfcd1..ba83c69df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,10 +20,10 @@ jobs: outputs: changed-files: ${{ toJSON(steps.changed-files.outputs) }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Get Changed Files id: changed-files - uses: dorny/paths-filter@v2 + uses: dorny/paths-filter@v3 with: token: ${{ github.token }} list-files: json @@ -109,7 +109,7 @@ jobs: - name: Upload Exit Status if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: exitstatus path: exitstatus @@ -124,10 +124,10 @@ jobs: jobs: ${{ steps.collect-jobs.outputs.jobs }} runner-version: ${{ steps.collect-jobs.outputs.runner-version }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.10 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.10" @@ -159,7 +159,7 @@ jobs: - name: Upload Exit Status if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: exitstatus path: exitstatus diff --git a/.github/workflows/generate-configs-action.yml b/.github/workflows/generate-configs-action.yml index ccc694e8d..4b640b2cc 100644 --- a/.github/workflows/generate-configs-action.yml +++ b/.github/workflows/generate-configs-action.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Source Code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Python Tools Scripts env: @@ -38,7 +38,7 @@ jobs: jq < golden-images.json - name: Upload golden-images.json - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: golden-images.json path: golden-images.json @@ -52,7 +52,7 @@ jobs: - name: Upload Exit Status if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: exitstatus path: exitstatus diff --git a/.github/workflows/pre-commit-action.yml b/.github/workflows/pre-commit-action.yml index 601304829..1fa9e563a 100644 --- a/.github/workflows/pre-commit-action.yml +++ b/.github/workflows/pre-commit-action.yml @@ -16,10 +16,10 @@ jobs: steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.9 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.9" @@ -57,7 +57,7 @@ jobs: - name: Upload Exit Status if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: exitstatus path: exitstatus