Skip to content

Commit 4b52f6b

Browse files
chore: upgrade GitHub Actions to fix Node 20 deprecation warnings (#2171)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Itamar Hartstein <haritamar@gmail.com>
1 parent 89a6dac commit 4b52f6b

File tree

9 files changed

+25
-24
lines changed

9 files changed

+25
-24
lines changed

.github/workflows/assign-devin-prs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
issues: write
1414
steps:
1515
- name: Extract and assign requesting user
16-
uses: actions/github-script@v7
16+
uses: actions/github-script@v8
1717
with:
1818
script: |
1919
const body = context.payload.pull_request.body || '';

.github/workflows/build-docker-image.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,26 +18,26 @@ jobs:
1818
uses: actions/checkout@v6
1919

2020
- name: Set up QEMU for multi-platform support
21-
uses: docker/setup-qemu-action@v3
21+
uses: docker/setup-qemu-action@v4
2222

2323
- name: Set up Docker Buildx for multi-platform support
24-
uses: docker/setup-buildx-action@v3
24+
uses: docker/setup-buildx-action@v4
2525

2626
- name: Log in to the container registry
27-
uses: docker/login-action@v2
27+
uses: docker/login-action@v4
2828
with:
2929
registry: ${{ env.REGISTRY }}
3030
username: ${{ github.actor }}
3131
password: ${{ secrets.GITHUB_TOKEN }}
3232

3333
- name: Extract metadata (tags, labels) for Docker
3434
id: meta
35-
uses: docker/metadata-action@v4
35+
uses: docker/metadata-action@v6
3636
with:
3737
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
3838

3939
- name: Build and push Docker image
40-
uses: docker/build-push-action@v3
40+
uses: docker/build-push-action@v7
4141
with:
4242
context: .
4343
push: false

.github/workflows/bump-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
echo "dbt package version: ${{ steps.validate-dbt-package-input.outputs.dbt-package-validation }}"
4242
- name: fail on invalid input
4343
if: ${{ steps.validate-cli-input.outputs.cli-validation == '' }}
44-
uses: actions/github-script@v6
44+
uses: actions/github-script@v8
4545
with:
4646
script: |
4747
core.setFailed("Invalid version inputs")

.github/workflows/release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
ref: ${{ inputs.tag || github.ref }}
2525

2626
- name: Setup Python
27-
uses: actions/setup-python@v5
27+
uses: actions/setup-python@v6
2828
with:
2929
python-version: "3.10"
3030

@@ -75,7 +75,7 @@ jobs:
7575
ref: ${{ inputs.tag || github.ref }}
7676

7777
- name: Setup Python
78-
uses: actions/setup-python@v5
78+
uses: actions/setup-python@v6
7979
with:
8080
python-version: "3.10"
8181

@@ -86,7 +86,7 @@ jobs:
8686
run: python -m build --sdist --wheel --outdir dist .
8787

8888
- name: Upload build artifact
89-
uses: actions/upload-artifact@v4
89+
uses: actions/upload-artifact@v6
9090
with:
9191
name: build
9292
path: dist
@@ -111,29 +111,29 @@ jobs:
111111
ref: ${{ inputs.tag || github.ref }}
112112

113113
- name: Set up QEMU for multi-platform support
114-
uses: docker/setup-qemu-action@v3
114+
uses: docker/setup-qemu-action@v4
115115

116116
- name: Set up Docker Buildx for multi-platform support
117-
uses: docker/setup-buildx-action@v3
117+
uses: docker/setup-buildx-action@v4
118118

119119
- name: Log in to the container registry
120-
uses: docker/login-action@v2
120+
uses: docker/login-action@v4
121121
with:
122122
registry: ${{ env.REGISTRY }}
123123
username: ${{ github.actor }}
124124
password: ${{ secrets.GITHUB_TOKEN }}
125125

126126
- name: Extract metadata (tags, labels) for Docker
127127
id: meta
128-
uses: docker/metadata-action@v4
128+
uses: docker/metadata-action@v6
129129
with:
130130
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
131131
tags: |
132132
type=semver,pattern={{version}},value=${{ inputs.tag || '' }}
133133
type=ref,event=tag
134134
135135
- name: Build and push Docker image
136-
uses: docker/build-push-action@v3
136+
uses: docker/build-push-action@v7
137137
with:
138138
context: .
139139
push: true

.github/workflows/run-precommit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
uses: actions/checkout@v6
1212

1313
- name: Set up Python
14-
uses: actions/setup-python@v5
14+
uses: actions/setup-python@v6
1515
with:
1616
python-version: "3.10"
1717

.github/workflows/stale.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ jobs:
77
close-issues:
88
runs-on: ubuntu-latest
99
permissions:
10+
actions: write
1011
contents: write # only for delete-branch option
1112
issues: write
1213
pull-requests: write

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
ref: ${{ inputs.dbt-data-reliability-ref }}
5252

5353
- name: Setup Python
54-
uses: actions/setup-python@v5
54+
uses: actions/setup-python@v6
5555
with:
5656
python-version: "3.10"
5757

@@ -159,14 +159,14 @@ jobs:
159159
--file-path "report.html"
160160
161161
- name: Upload report
162-
uses: actions/upload-artifact@v4
162+
uses: actions/upload-artifact@v6
163163
with:
164164
name: report.html
165165
path: edr_target/report.html
166166

167167
- name: Upload log
168168
if: always()
169-
uses: actions/upload-artifact@v4
169+
uses: actions/upload-artifact@v6
170170
with:
171171
name: edr.log
172172
path: edr_target/edr.log

.github/workflows/test-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
echo "Everything ran successfully, you can bump version to ${{ needs.get-latest-release-tags.outputs.py-bumped-number }}"
6565
- name: recommend breaking change upgrade
6666
if: ${{ failure() }}
67-
uses: actions/github-script@v6
67+
uses: actions/github-script@v8
6868
with:
6969
script: |
7070
core.setFailed("Upgrade validation failed. Make sure you do anything to keep backwards compatibility - If not possible, update minor.")

.github/workflows/test-warehouse.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
- name: Restore seed cache
113113
id: seed-cache
114114
if: steps.seed-cache-key.outputs.seed-hash
115-
uses: actions/cache@v4
115+
uses: actions/cache@v5
116116
with:
117117
path: /tmp/seed-cache-${{ inputs.warehouse-type }}
118118
key: seed-${{ inputs.warehouse-type }}-${{ steps.seed-cache-key.outputs.seed-hash }}
@@ -175,7 +175,7 @@ jobs:
175175
docker compose up -d --wait vertica
176176
177177
- name: Setup Python
178-
uses: actions/setup-python@v5
178+
uses: actions/setup-python@v6
179179
with:
180180
python-version: "3.10"
181181

@@ -374,7 +374,7 @@ jobs:
374374
echo "artifact_name=$ARTIFACT_NAME" >> "$GITHUB_OUTPUT"
375375
376376
- name: Upload report artifact
377-
uses: actions/upload-artifact@v4
377+
uses: actions/upload-artifact@v6
378378
with:
379379
name: ${{ steps.set_report_artifact_name.outputs.artifact_name }}
380380
path: elementary/edr_target/elementary_report.html
@@ -416,7 +416,7 @@ jobs:
416416
417417
- name: Upload edr log
418418
if: ${{ always() }}
419-
uses: actions/upload-artifact@v4
419+
uses: actions/upload-artifact@v6
420420
with:
421421
name: ${{ steps.set_artifact_name.outputs.artifact_name }}
422422
path: elementary/edr_target/edr.log

0 commit comments

Comments
 (0)