Skip to content

Commit 203dd8e

Browse files
committed
chore: add dependabot to auto update github workflow files.
* update actions/download-artifact to v4. * update actions/upload-artifact to v4. Signed-off-by: Lan Liang <[email protected]>
1 parent 4de9905 commit 203dd8e

File tree

5 files changed

+36
-23
lines changed

5 files changed

+36
-23
lines changed

.github/dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# This YAML configuration file is used to enable Dependabot for automated dependency management.
2+
# Dependabot helps keep the project's dependencies up-to-date by automatically creating pull requests
3+
# for outdated dependencies based on the version constraints defined in your project.
4+
# For more information and customization options, please refer to the Dependabot documentation:
5+
# Documentation: https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically
6+
# Configuration options: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
7+
version: 2
8+
updates:
9+
- package-ecosystem: "github-actions"
10+
directory: "/"
11+
schedule:
12+
# Check for updates to GitHub Actions every week
13+
interval: "weekly"

.github/workflows/java-test.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
run: mvn clean package -DskipTests=true -Djni.classifier=${{ matrix.classifier }} -Dcargo-build.profile=release
8484

8585
- name: 'Upload artifact'
86-
uses: actions/upload-artifact@v3
86+
uses: actions/upload-artifact@v4
8787
with:
8888
name: kcl-lib-${{ matrix.classifier }}
8989
path: |
@@ -103,25 +103,25 @@ jobs:
103103
uses: actions/checkout@v3
104104

105105
- name: Download windows x86_64 lib
106-
uses: actions/download-artifact@v3
106+
uses: actions/download-artifact@v4
107107
with:
108108
name: kcl-lib-windows-x86_64
109109
path: java/native
110110

111111
- name: Download linux aarch_64 lib
112-
uses: actions/download-artifact@v3
112+
uses: actions/download-artifact@v4
113113
with:
114114
name: kcl-lib-linux-aarch_64
115115
path: java/native
116116

117117
- name: Download darwin x86_64 lib
118-
uses: actions/download-artifact@v3
118+
uses: actions/download-artifact@v4
119119
with:
120120
name: kcl-lib-osx-x86_64
121121
path: java/native
122122

123123
- name: Download darwin aarch_64 lib
124-
uses: actions/download-artifact@v3
124+
uses: actions/download-artifact@v4
125125
with:
126126
name: kcl-lib-osx-aarch_64
127127
path: java/native
@@ -135,7 +135,7 @@ jobs:
135135
"
136136
137137
- name: Upload artifact
138-
uses: actions/upload-artifact@v3
138+
uses: actions/upload-artifact@v4
139139
with:
140140
name: kcl-lib
141141
path: java/target/*.jar
@@ -160,7 +160,7 @@ jobs:
160160
settings-path: ${{ github.workspace }} # location for the settings.xml file
161161

162162
- name: Download Jar
163-
uses: actions/download-artifact@v3
163+
uses: actions/download-artifact@v4
164164
with:
165165
name: kcl-lib
166166
path: java/release

.github/workflows/kotlin-test.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
run: mvn clean package -DskipTests=true -Djni.classifier=${{ matrix.classifier }} -Dcargo-build.profile=release
8484

8585
- name: 'Upload artifact'
86-
uses: actions/upload-artifact@v3
86+
uses: actions/upload-artifact@v4
8787
with:
8888
name: kcl-lib-${{ matrix.classifier }}
8989
path: |
@@ -103,25 +103,25 @@ jobs:
103103
uses: actions/checkout@v3
104104

105105
- name: Download windows x86_64 lib
106-
uses: actions/download-artifact@v3
106+
uses: actions/download-artifact@v4
107107
with:
108108
name: kcl-lib-windows-x86_64
109109
path: kotlin/native
110110

111111
- name: Download linux aarch_64 lib
112-
uses: actions/download-artifact@v3
112+
uses: actions/download-artifact@v4
113113
with:
114114
name: kcl-lib-linux-aarch_64
115115
path: kotlin/native
116116

117117
- name: Download darwin x86_64 lib
118-
uses: actions/download-artifact@v3
118+
uses: actions/download-artifact@v4
119119
with:
120120
name: kcl-lib-osx-x86_64
121121
path: kotlin/native
122122

123123
- name: Download darwin aarch_64 lib
124-
uses: actions/download-artifact@v3
124+
uses: actions/download-artifact@v4
125125
with:
126126
name: kcl-lib-osx-aarch_64
127127
path: kotlin/native
@@ -135,7 +135,7 @@ jobs:
135135
"
136136
137137
- name: Upload artifact
138-
uses: actions/upload-artifact@v3
138+
uses: actions/upload-artifact@v4
139139
with:
140140
name: kcl-lib
141141
path: kotlin/target/*.jar
@@ -160,7 +160,7 @@ jobs:
160160
settings-path: ${{ github.workspace }} # location for the settings.xml file
161161

162162
- name: Download Jar
163-
uses: actions/download-artifact@v3
163+
uses: actions/download-artifact@v4
164164
with:
165165
name: kcl-lib
166166
path: kotlin/release

.github/workflows/nodejs-test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ jobs:
117117
shell: bash
118118
working-directory: .
119119
run: ${{ matrix.settings.build }}
120-
- uses: actions/upload-artifact@v3
120+
- uses: actions/upload-artifact@v4
121121
with:
122122
name: bindings-linux-${{ matrix.settings.target }}
123123
path: nodejs/*.node
@@ -157,7 +157,7 @@ jobs:
157157
- name: Build
158158
shell: bash
159159
run: ${{ matrix.settings.build }}
160-
- uses: actions/upload-artifact@v3
160+
- uses: actions/upload-artifact@v4
161161
with:
162162
name: bindings-windows-${{ matrix.settings.target }}
163163
path: nodejs/*.node
@@ -207,7 +207,7 @@ jobs:
207207
- name: Build
208208
run: ${{ matrix.settings.build }}
209209
shell: bash
210-
- uses: actions/upload-artifact@v3
210+
- uses: actions/upload-artifact@v4
211211
with:
212212
name: bindings-macos-${{ matrix.settings.target }}
213213
path: nodejs/*.node
@@ -240,7 +240,7 @@ jobs:
240240
run: pnpm install --no-save --frozen-lockfile
241241

242242
- name: Download all artifacts
243-
uses: actions/download-artifact@v3
243+
uses: actions/download-artifact@v4
244244
with:
245245
path: nodejs/artifacts
246246
- name: Move artifacts

.github/workflows/python-test.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
command: sdist
3838
args: -o dist
3939
- name: Upload sdist
40-
uses: actions/upload-artifact@v3
40+
uses: actions/upload-artifact@v4
4141
with:
4242
name: wheels
4343
path: python/dist
@@ -60,7 +60,7 @@ jobs:
6060
# Workaround ring 0.17 build issue
6161
CFLAGS_aarch64_unknown_linux_gnu: "-D__ARM_ARCH=8"
6262
- name: Upload wheels
63-
uses: actions/upload-artifact@v3
63+
uses: actions/upload-artifact@v4
6464
with:
6565
name: wheels
6666
path: python/dist
@@ -75,7 +75,7 @@ jobs:
7575
command: build
7676
args: --release -o dist --find-interpreter
7777
- name: Upload wheels
78-
uses: actions/upload-artifact@v3
78+
uses: actions/upload-artifact@v4
7979
with:
8080
name: wheels
8181
path: python/dist
@@ -91,7 +91,7 @@ jobs:
9191
target: universal2-apple-darwin
9292
args: --release -o dist --find-interpreter
9393
- name: Upload wheels
94-
uses: actions/upload-artifact@v3
94+
uses: actions/upload-artifact@v4
9595
with:
9696
name: wheels
9797
path: python/dist
@@ -105,7 +105,7 @@ jobs:
105105
id-token: write
106106
needs: [ macos, linux, windows ]
107107
steps:
108-
- uses: actions/download-artifact@v3
108+
- uses: actions/download-artifact@v4
109109
with:
110110
name: wheels
111111
path: python/dist

0 commit comments

Comments
 (0)