Skip to content

Commit e73ec56

Browse files
update GitHub provided workflows
1 parent 915d818 commit e73ec56

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

.github/workflows/interop.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- name: Restore from cache
1717
id: restore-cache
18-
uses: actions/cache@v2
18+
uses: actions/cache@v3
1919
env:
2020
VERSION: ${{ env.WIRESHARK_CACHEKEY }}
2121
with:
@@ -26,7 +26,7 @@ jobs:
2626
run: |
2727
tar xfz tshark.tar.gz
2828
./tshark -v
29-
- uses: actions/checkout@v2
29+
- uses: actions/checkout@v3
3030
if: steps.restore-cache.outputs.cache-hit != 'true'
3131
with:
3232
repository: wireshark/wireshark
@@ -44,7 +44,7 @@ jobs:
4444
if: steps.restore-cache.outputs.cache-hit != 'true'
4545
run: tar -czvf tshark.tar.gz -C run/ tshark
4646
- name: Upload
47-
uses: actions/upload-artifact@v2
47+
uses: actions/upload-artifact@v3
4848
with:
4949
name: wireshark
5050
path: tshark.tar.gz
@@ -69,8 +69,8 @@ jobs:
6969
STARTTIME=$(date +%s)
7070
echo $STARTTIME
7171
echo "::set-output name=starttime::$STARTTIME"
72-
- uses: actions/checkout@v2
73-
- uses: actions/setup-python@v1
72+
- uses: actions/checkout@v3
73+
- uses: actions/setup-python@v4
7474
with:
7575
python-version: 3.8
7676
- name: Determine servers
@@ -97,7 +97,7 @@ jobs:
9797
matrix:
9898
image: [ 'quic-network-simulator', 'quic-interop-iperf-endpoint' ]
9999
steps:
100-
- uses: actions/checkout@v2
100+
- uses: actions/checkout@v3
101101
- name: Pull
102102
run: |
103103
URL="martenseemann/${{ matrix.image }}"
@@ -110,7 +110,7 @@ jobs:
110110
docker save $URL | gzip --best > ${{ matrix.image }}.tar.gz
111111
du -sh ${{ matrix.image }}.tar.gz
112112
- name: Upload result
113-
uses: actions/upload-artifact@v2
113+
uses: actions/upload-artifact@v3
114114
with:
115115
name: images-tools
116116
path: ${{ matrix.image }}.tar.gz
@@ -123,7 +123,7 @@ jobs:
123123
image: ${{ fromJson(needs.config.outputs.images) }}
124124
name: Pull ${{ matrix.image }}
125125
steps:
126-
- uses: actions/checkout@v2
126+
- uses: actions/checkout@v3
127127
- name: Run docker pull
128128
run: |
129129
URL=$(jq -r '.["${{ matrix.image }}"].image' implementations.json)
@@ -137,7 +137,7 @@ jobs:
137137
docker save $URL | gzip --best > ${{ matrix.image }}.tar.gz
138138
du -sh ${{ matrix.image }}.tar.gz
139139
- name: Upload result
140-
uses: actions/upload-artifact@v2
140+
uses: actions/upload-artifact@v3
141141
with:
142142
name: image-${{ matrix.image }}
143143
path: ${{ matrix.image }}.tar.gz
@@ -153,24 +153,24 @@ jobs:
153153
client: ${{ fromJson(needs.config.outputs.clients) }}
154154
name: (${{ matrix.server }} - ${{ matrix.client }})
155155
steps:
156-
- uses: actions/checkout@v2
157-
- uses: actions/setup-python@v1
156+
- uses: actions/checkout@v3
157+
- uses: actions/setup-python@v4
158158
with:
159159
python-version: 3.8
160160
- name: Enable IPv6 support
161161
run: sudo modprobe ip6table_filter
162162
- run: docker image ls
163163
- name: Download tools Docker images
164-
uses: actions/download-artifact@v2
164+
uses: actions/download-artifact@v3
165165
with:
166166
name: images-tools
167167
- name: Download ${{ matrix.server }} Docker image
168-
uses: actions/download-artifact@v2
168+
uses: actions/download-artifact@v3
169169
with:
170170
name: image-${{ matrix.server }}
171171
- name: Download ${{ matrix.client }} Docker image
172172
if: ${{ matrix.server != matrix.client }}
173-
uses: actions/download-artifact@v2
173+
uses: actions/download-artifact@v3
174174
with:
175175
name: image-${{ matrix.client }}
176176
- name: Load docker images
@@ -181,7 +181,7 @@ jobs:
181181
docker load --input ${{ matrix.client }}.tar.gz
182182
- run: docker image ls
183183
- name: Download Wireshark
184-
uses: actions/download-artifact@v2
184+
uses: actions/download-artifact@v3
185185
with:
186186
name: wireshark
187187
path: wireshark
@@ -223,7 +223,7 @@ jobs:
223223
target: /mnt/logs/${{ needs.config.outputs.logname }}
224224
strip_components: 1
225225
- name: Upload result
226-
uses: actions/upload-artifact@v2
226+
uses: actions/upload-artifact@v3
227227
with:
228228
name: results
229229
path: |
@@ -235,12 +235,12 @@ jobs:
235235
env:
236236
LOGNAME: ${{ needs.config.outputs.logname }}
237237
steps:
238-
- uses: actions/checkout@v2
239-
- uses: actions/setup-python@v1
238+
- uses: actions/checkout@v3
239+
- uses: actions/setup-python@v4
240240
with:
241241
python-version: 3.8
242242
- name: Download results
243-
uses: actions/download-artifact@v2
243+
uses: actions/download-artifact@v3
244244
with:
245245
name: results
246246
- name: Aggregate results
@@ -254,7 +254,7 @@ jobs:
254254
- name: Print result
255255
run: jq '.' result.json
256256
- name: Upload result to artifacts
257-
uses: actions/upload-artifact@v2
257+
uses: actions/upload-artifact@v3
258258
with:
259259
name: results
260260
path: result.json

0 commit comments

Comments
 (0)