4343 RUSTPROFILE : minimal
4444 steps :
4545 - name : Checkout
46- uses : actions/checkout@v2
46+ uses : actions/checkout@v4
47+ with :
48+ persist-credentials : false
4749
4850 - name : Update packages
4951 run : sudo apt-get update
@@ -73,18 +75,19 @@ jobs:
7375
7476 - name : Restore shadow build cache
7577 id : restore-shadow-build-cache
76- uses : actions/cache@v2
78+ uses : actions/cache@v4
7779 with :
7880 path : |
7981 ~/opt/shadow
8082 key : shadow-${{ env.SHADOW_COMMIT }}-${{ env.CACHE_VERSION }}
8183
8284 - name : Checkout shadow
83- uses : actions/checkout@v2
85+ uses : actions/checkout@v4
8486 with :
8587 repository : shadow/shadow
8688 ref : ${{ env.SHADOW_COMMIT }}
8789 path : shadow
90+ persist-credentials : false
8891
8992 - name : Install shadow deps
9093 run : |
@@ -104,7 +107,7 @@ jobs:
104107
105108 - name : Restore tor build cache
106109 id : restore-tor-build-cache
107- uses : actions/cache@v2
110+ uses : actions/cache@v4
108111 with :
109112 path : |
110113 ~/opt/tor
@@ -122,11 +125,12 @@ jobs:
122125 make install
123126
124127 - name : Checkout tgen
125- uses : actions/checkout@v2
128+ uses : actions/checkout@v4
126129 with :
127130 repository : shadow/tgen
128131 ref : ${{ env.TGEN_COMMIT }}
129132 path : tgen
133+ persist-credentials : false
130134
131135 - name : Build tgen deps
132136 run : sudo apt-get install -y cmake gcc libglib2.0-dev libigraph-dev make
@@ -143,11 +147,12 @@ jobs:
143147 pip3 install -I ../tools
144148
145149 - name : Checkout oniontrace
146- uses : actions/checkout@v2
150+ uses : actions/checkout@v4
147151 with :
148152 repository : shadow/oniontrace
149153 ref : ${{ env.ONIONTRACE_COMMIT }}
150154 path : oniontrace
155+ persist-credentials : false
151156
152157 - name : Install oniontrace deps
153158 run : sudo apt-get install -y cmake gcc libglib2.0-0 libglib2.0-dev make
@@ -165,7 +170,7 @@ jobs:
165170
166171 - name : Restore net data cache
167172 id : restore-net-data-cache
168- uses : actions/cache@v2
173+ uses : actions/cache@v4
169174 with :
170175 path : netdata
171176 key : netdata-${{ env.NETDATA_MONTH }}-${{ env.NETDATA_LAST_DAY}}-${{ env.CACHE_VERSION }}
@@ -184,10 +189,11 @@ jobs:
184189 find consensuses-*/ -type f | tail -n +100 | xargs rm
185190
186191 - name : Checkout tmodel
187- uses : actions/checkout@v2
192+ uses : actions/checkout@v4
188193 with :
189194 repository : tmodel-ccs2018/tmodel-ccs2018.github.io
190195 path : tmodel-ccs2018.github.io
196+ persist-credentials : false
191197
192198 - name : Install custom deps
193199 run : |
@@ -274,7 +280,7 @@ jobs:
274280 run : tornettools archive tornet
275281
276282 - name : Upload tornet
277- uses : actions/upload-artifact@v2
283+ uses : actions/upload-artifact@v4
278284 if : failure()
279285 with :
280286 name : tornet
@@ -285,7 +291,7 @@ jobs:
285291 # necessary - e.g. when the output of the tgen or oniontrace parsers
286292 # changes in some significant way.
287293 - name : Upload parse_and_plot input
288- uses : actions/upload-artifact@v2
294+ uses : actions/upload-artifact@v4
289295 with :
290296 name : parse_and_plot_input
291297 path : |
@@ -298,7 +304,7 @@ jobs:
298304 # Typically this is only needed when the output changes in some
299305 # significant way.
300306 - name : Upload plot data
301- uses : actions/upload-artifact@v2
307+ uses : actions/upload-artifact@v4
302308 with :
303309 name : run_all_steps_output
304310 path : |
@@ -311,7 +317,7 @@ jobs:
311317 # the lines from the current run are not expected to be identical to the
312318 # lines from the previous run.
313319 - name : Upload plots
314- uses : actions/upload-artifact@v2
320+ uses : actions/upload-artifact@v4
315321 with :
316322 name : plots
317323 path : pdfs/*.pdf
0 commit comments