Skip to content

Commit cd7e162

Browse files
haritamarhanalytics-data-service
authored andcommitted
Upgrade various actions to v4 (elementary-data#1762)
1 parent 3ac3a26 commit cd7e162

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

.github/workflows/bump-version.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
runs-on: ubuntu-latest
5252
steps:
5353
- name: Checkout code
54-
uses: actions/checkout@v3
54+
uses: actions/checkout@v4
5555
- name: Create release branch
5656
run: git checkout -b release/v${{ inputs.cli-version }}
5757
- name: Initial config
@@ -80,7 +80,7 @@ jobs:
8080
needs: bump-version
8181
runs-on: ubuntu-latest
8282
steps:
83-
- uses: actions/checkout@v3
83+
- uses: actions/checkout@v4
8484
- name: create pull request
8585
uses: repo-sync/pull-request@v2
8686
with:

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-20.04
1414
steps:
1515
- name: Checkout Elementary
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717

1818
- name: Setup Python
1919
uses: actions/setup-python@v4
@@ -27,7 +27,7 @@ jobs:
2727
run: python -m build --sdist --wheel --outdir dist .
2828

2929
- name: Upload build artifact
30-
uses: actions/upload-artifact@v3
30+
uses: actions/upload-artifact@v4
3131
with:
3232
name: build
3333
path: dist
@@ -46,7 +46,7 @@ jobs:
4646

4747
steps:
4848
- name: Checkout Elementary
49-
uses: actions/checkout@v3
49+
uses: actions/checkout@v4
5050

5151
- name: Set up QEMU for multi-platform support
5252
uses: docker/setup-qemu-action@v3
@@ -79,7 +79,7 @@ jobs:
7979
merge-to-docs:
8080
runs-on: ubuntu-latest
8181
steps:
82-
- uses: actions/checkout@v3
82+
- uses: actions/checkout@v4
8383
- name: PR master to docs
8484
uses: repo-sync/pull-request@v2
8585
with:

.github/workflows/run-precommit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout Elementary
11-
uses: actions/checkout@v3
11+
uses: actions/checkout@v4
1212

1313
- name: Set up Python
1414
uses: actions/setup-python@v4.3.0

.github/workflows/test-github-action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ jobs:
2828
working-directory: elementary
2929
steps:
3030
- name: Checkout Elementary
31-
uses: actions/checkout@v3
31+
uses: actions/checkout@v4
3232
with:
3333
path: elementary
3434
ref: ${{ inputs.elementary-ref }}
3535

3636
- name: Checkout dbt package
37-
uses: actions/checkout@v3
37+
uses: actions/checkout@v4
3838
with:
3939
repository: elementary-data/dbt-data-reliability
4040
path: dbt-data-reliability
@@ -90,14 +90,14 @@ jobs:
9090
--file-path "report.html"
9191

9292
- name: Upload report
93-
uses: actions/upload-artifact@v3
93+
uses: actions/upload-artifact@v4
9494
with:
9595
name: report.html
9696
path: edr_target/report.html
9797

9898
- name: Upload log
9999
if: always()
100-
uses: actions/upload-artifact@v3
100+
uses: actions/upload-artifact@v4
101101
with:
102102
name: edr.log
103103
path: edr_target/edr.log

.github/workflows/test-warehouse.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,13 @@ jobs:
8686
cancel-in-progress: true
8787
steps:
8888
- name: Checkout Elementary
89-
uses: actions/checkout@v3
89+
uses: actions/checkout@v4
9090
with:
9191
path: elementary
9292
ref: ${{ inputs.elementary-ref }}
9393

9494
- name: Checkout dbt package
95-
uses: actions/checkout@v3
95+
uses: actions/checkout@v4
9696
with:
9797
repository: elementary-data/dbt-data-reliability
9898
path: dbt-data-reliability
@@ -182,7 +182,7 @@ jobs:
182182
--project-profile-target "${{ inputs.warehouse-type }}"
183183
184184
- name: Upload report artifact
185-
uses: actions/upload-artifact@v3
185+
uses: actions/upload-artifact@v4
186186
with:
187187
name: report_${{ inputs.warehouse-type }}_${{ env.BRANCH_NAME }}.html
188188
path: elementary/edr_target/elementary_report.html
@@ -218,7 +218,7 @@ jobs:
218218
219219
- name: Upload edr log
220220
if: ${{ always() }}
221-
uses: actions/upload-artifact@v3
221+
uses: actions/upload-artifact@v4
222222
with:
223223
name: edr.log
224224
path: elementary/edr_target/edr.log

0 commit comments

Comments
 (0)