Skip to content

Commit

Permalink
Upgrade various actions to v4 (#1762)
Browse files Browse the repository at this point in the history
  • Loading branch information
haritamar authored Dec 12, 2024
1 parent d69a9a9 commit 34eb3ae
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-github-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-warehouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 34eb3ae

Please sign in to comment.