File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -15,12 +15,15 @@ endgroup
15
15
epel
16
16
espup
17
17
etag
18
+ fastestmirror
18
19
grcov
19
20
knope
20
21
linkcheck
21
22
mdbook
22
23
microdnf
24
+ mirrorlist
23
25
nextest
26
+ pluginconf
24
27
protoc
25
28
pubkey
26
29
pwsh
Original file line number Diff line number Diff line change @@ -140,6 +140,14 @@ jobs:
140
140
timeout-minutes : 60
141
141
container : ${{ matrix.container }}
142
142
steps :
143
+ - name : Install requirements (centos)
144
+ run : |
145
+ set -eEuxo pipefail
146
+ # https://github.com/rust-lang/rust/pull/126352
147
+ sed -i /etc/yum.repos.d/*.repo -e 's!^mirrorlist!#mirrorlist!' \
148
+ -e 's!^#baseurl=http://mirror.centos.org/!baseurl=https://vault.centos.org/!'
149
+ sed -i 's/enabled=1/enabled=0/' /etc/yum/pluginconf.d/fastestmirror.conf
150
+ if : startsWith(matrix.container, 'centos')
143
151
- name : Install requirements (alpine)
144
152
run : apk --no-cache add bash
145
153
shell : sh
You can’t perform that action at this time.
0 commit comments