From afded69cd686dd8b1ab08e2a6e8fd5e079d8b92d Mon Sep 17 00:00:00 2001 From: Itamar Hartstein Date: Thu, 12 Dec 2024 12:18:38 +0200 Subject: [PATCH] Upgrade various actions to v4 --- .github/workflows/bump-version.yml | 4 ++-- .github/workflows/release.yml | 8 ++++---- .github/workflows/run-precommit.yml | 2 +- .github/workflows/test-github-action.yml | 8 ++++---- .github/workflows/test-warehouse.yml | 8 ++++---- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index 2c91aa40c..69b25e9ab 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -51,7 +51,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Create release branch run: git checkout -b release/v${{ inputs.cli-version }} - name: Initial config @@ -80,7 +80,7 @@ jobs: needs: bump-version runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: create pull request uses: repo-sync/pull-request@v2 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1b6c4e229..711d31966 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout Elementary - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Python uses: actions/setup-python@v4 @@ -27,7 +27,7 @@ jobs: run: python -m build --sdist --wheel --outdir dist . - name: Upload build artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: build path: dist @@ -46,7 +46,7 @@ jobs: steps: - name: Checkout Elementary - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU for multi-platform support uses: docker/setup-qemu-action@v3 @@ -79,7 +79,7 @@ jobs: merge-to-docs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: PR master to docs uses: repo-sync/pull-request@v2 with: diff --git a/.github/workflows/run-precommit.yml b/.github/workflows/run-precommit.yml index e57ff6a48..d7709e4d8 100644 --- a/.github/workflows/run-precommit.yml +++ b/.github/workflows/run-precommit.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Elementary - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v4.3.0 diff --git a/.github/workflows/test-github-action.yml b/.github/workflows/test-github-action.yml index b81408b2d..40c8f5d18 100644 --- a/.github/workflows/test-github-action.yml +++ b/.github/workflows/test-github-action.yml @@ -28,13 +28,13 @@ jobs: working-directory: elementary steps: - name: Checkout Elementary - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: elementary ref: ${{ inputs.elementary-ref }} - name: Checkout dbt package - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: elementary-data/dbt-data-reliability path: dbt-data-reliability @@ -90,14 +90,14 @@ jobs: --file-path "report.html" - name: Upload report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: report.html path: edr_target/report.html - name: Upload log if: always() - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: edr.log path: edr_target/edr.log diff --git a/.github/workflows/test-warehouse.yml b/.github/workflows/test-warehouse.yml index 050516bd6..04123ef13 100644 --- a/.github/workflows/test-warehouse.yml +++ b/.github/workflows/test-warehouse.yml @@ -86,13 +86,13 @@ jobs: cancel-in-progress: true steps: - name: Checkout Elementary - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: elementary ref: ${{ inputs.elementary-ref }} - name: Checkout dbt package - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: elementary-data/dbt-data-reliability path: dbt-data-reliability @@ -182,7 +182,7 @@ jobs: --project-profile-target "${{ inputs.warehouse-type }}" - name: Upload report artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: report_${{ inputs.warehouse-type }}_${{ env.BRANCH_NAME }}.html path: elementary/edr_target/elementary_report.html @@ -218,7 +218,7 @@ jobs: - name: Upload edr log if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: edr.log path: elementary/edr_target/edr.log