Skip to content

Commit 9b6e7b1

Browse files
committed
bump up gha
1 parent 86d0755 commit 9b6e7b1

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

.github/workflows/CI.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
runs-on: ubuntu-latest
3737
steps:
3838
- name: Checkout source codes
39-
uses: actions/checkout@v3
39+
uses: actions/checkout@v4
4040
with:
4141
submodules: true
4242
- name: Check License
@@ -54,7 +54,7 @@ jobs:
5454
runs-on: ubuntu-latest
5555
steps:
5656
- name: Checkout source codes
57-
uses: actions/checkout@v3
57+
uses: actions/checkout@v4
5858
with:
5959
submodules: true
6060
- name: Check plugin doc
@@ -73,7 +73,7 @@ jobs:
7373
outputs:
7474
agent: ${{ steps.filter.outputs.agent }}
7575
steps:
76-
- uses: actions/checkout@v3 # required for push event
76+
- uses: actions/checkout@v4 # required for push event
7777
- name: Check for file changes
7878
uses: getsentry/[email protected]
7979
id: filter
@@ -107,7 +107,7 @@ jobs:
107107
((github.event_name == 'schedule' && github.repository == 'apache/skywalking-python') || needs.changes.outputs.agent == 'true')
108108
runs-on: ubuntu-latest
109109
steps:
110-
- uses: actions/checkout@v3
110+
- uses: actions/checkout@v4
111111
- id: set-matrix
112112
run: |
113113
sudo apt-get install jq
@@ -131,15 +131,15 @@ jobs:
131131
BASE_PYTHON_IMAGE: ${{ matrix.python-version }}
132132
steps:
133133
- name: Checkout source codes
134-
uses: actions/checkout@v3
134+
uses: actions/checkout@v4
135135
with:
136136
submodules: true
137137
- name: Build SkyWalking Python agent base plugin image
138138
run: |
139139
docker build --build-arg BASE_PYTHON_IMAGE -t apache/skywalking-python-agent:latest-plugin --no-cache . -f tests/plugin/Dockerfile.plugin
140140
docker save -o docker-images-skywalking-python-plugin-${{ matrix.python-version }}.tar apache/skywalking-python-agent:latest-plugin
141141
- name: Upload docker image with specific python version
142-
uses: actions/upload-artifact@v3
142+
uses: actions/upload-artifact@v4
143143
with:
144144
name: docker-images-skywalking-python-plugin-${{ matrix.python-version }}
145145
path: docker-images-skywalking-python-plugin-${{ matrix.python-version }}.tar
@@ -164,7 +164,7 @@ jobs:
164164
BASE_PYTHON_IMAGE: ${{ matrix.python-version }}
165165
steps:
166166
- name: Checkout source codes
167-
uses: actions/checkout@v3
167+
uses: actions/checkout@v4
168168
with:
169169
submodules: true
170170
- name: Install docker-compose
@@ -177,15 +177,15 @@ jobs:
177177
sudo chmod +x /usr/local/bin/docker-compose
178178
fi
179179
- name: Pull SkyWalking Python agent base image
180-
uses: actions/download-artifact@v3
180+
uses: actions/download-artifact@v4
181181
with:
182182
name: docker-images-skywalking-python-plugin-${{ matrix.python-version }}-slim
183183
path: docker-images
184184
- name: Load docker images
185185
run: find docker-images -name "*.tar" -exec docker load -i {} \;
186186
- name: Set up Python ${{ matrix.python-version }}
187187
# This step is crucial for correct plugin matrix in test orchestration
188-
uses: actions/setup-python@v4
188+
uses: actions/setup-python@v5
189189
with:
190190
python-version: ${{ matrix.python-version }}
191191
- name: Run unit tests
@@ -210,15 +210,15 @@ jobs:
210210
BASE_PYTHON_IMAGE: ${{ matrix.python-image-variant }}
211211
steps:
212212
- name: Checkout source codes
213-
uses: actions/checkout@v3
213+
uses: actions/checkout@v4
214214
with:
215215
submodules: true
216216
- name: Build SkyWalking Python agent base e2e image
217217
run: |
218218
docker build --build-arg BASE_PYTHON_IMAGE -t apache/skywalking-python-agent:latest-e2e --no-cache . -f tests/e2e/base/Dockerfile.e2e
219219
docker save -o docker-images-skywalking-python-e2e-${{ matrix.python-image-variant }}.tar apache/skywalking-python-agent:latest-e2e
220220
- name: Upload docker image
221-
uses: actions/upload-artifact@v3
221+
uses: actions/upload-artifact@v4
222222
with:
223223
name: docker-images-skywalking-python-e2e-${{ matrix.python-image-variant }}
224224
path: docker-images-skywalking-python-e2e-${{ matrix.python-image-variant }}.tar
@@ -262,11 +262,11 @@ jobs:
262262
fail-fast: false
263263
steps:
264264
- name: Checkout source codes
265-
uses: actions/checkout@v3
265+
uses: actions/checkout@v4
266266
with:
267267
submodules: true
268268
- name: Pull SkyWalking Python agent base image
269-
uses: actions/download-artifact@v3
269+
uses: actions/download-artifact@v4
270270
with:
271271
name: docker-images-skywalking-python-e2e-${{ matrix.python-image-variant }}
272272
path: docker-images
@@ -278,7 +278,7 @@ jobs:
278278
log-dir: /tmp/e2e-logs
279279
e2e-file: ${{ matrix.case.path }}
280280
- name: Upload Logs
281-
uses: actions/upload-artifact@v3
281+
uses: actions/upload-artifact@v4
282282
if: ${{ failure() }}
283283
with:
284284
name: e2e_logs_${{ matrix.case.name }}_${{ matrix.python-image-variant }}

.github/workflows/dead-link-checker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
timeout-minutes: 30
3636
if: (github.event_name == 'schedule' && github.repository == 'apache/skywalking-python') || (github.event_name != 'schedule')
3737
steps:
38-
- uses: actions/checkout@v3
38+
- uses: actions/checkout@v4
3939
- uses: gaurav-nelson/github-action-markdown-link-check@v1
4040
with:
4141
use-quiet-mode: 'no'

.github/workflows/publish-docker.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
packages: write
3535
timeout-minutes: 120
3636
steps:
37-
- uses: actions/checkout@v2
37+
- uses: actions/checkout@v4
3838
with:
3939
submodules: true
4040
- name: Set environment variables
@@ -54,14 +54,14 @@ jobs:
5454
echo "VERSION=${{ github.sha }}" >> $GITHUB_ENV
5555
fi
5656
- name: Log in to the Container registry
57-
uses: docker/login-action@v2
57+
uses: docker/login-action@v3
5858
with:
5959
registry: ${{ env.DOCKER_REGISTRY }}
6060
username: ${{ env.DOCKER_USERNAME }}
6161
password: ${{ env.DOCKER_PASSWORD }}
6262
- name: Set up QEMU
63-
uses: docker/setup-qemu-action@v1
63+
uses: docker/setup-qemu-action@v3
6464
- name: Set up Docker Buildx
65-
uses: docker/setup-buildx-action@v1
65+
uses: docker/setup-buildx-action@v3
6666
- name: Build and push docker image
6767
run: make push-image -j 5

0 commit comments

Comments
 (0)