diff --git a/.github/.cspell/project-dictionary.txt b/.github/.cspell/project-dictionary.txt index cfea7281..efbe57f3 100644 --- a/.github/.cspell/project-dictionary.txt +++ b/.github/.cspell/project-dictionary.txt @@ -15,12 +15,15 @@ endgroup epel espup etag +fastestmirror grcov knope linkcheck mdbook microdnf +mirrorlist nextest +pluginconf protoc pubkey pwsh diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2fb18e9c..96a56621 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -140,6 +140,14 @@ jobs: timeout-minutes: 60 container: ${{ matrix.container }} steps: + - name: Install requirements (centos) + run: | + set -eEuxo pipefail + # https://github.com/rust-lang/rust/pull/126352 + sed -i /etc/yum.repos.d/*.repo -e 's!^mirrorlist!#mirrorlist!' \ + -e 's!^#baseurl=http://mirror.centos.org/!baseurl=https://vault.centos.org/!' + sed -i 's/enabled=1/enabled=0/' /etc/yum/pluginconf.d/fastestmirror.conf + if: startsWith(matrix.container, 'centos') - name: Install requirements (alpine) run: apk --no-cache add bash shell: sh