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
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
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
78787979 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 }}
0 commit comments