Skip to content

Commit

Permalink
Merge pull request #278 from SUSE/crates
Browse files Browse the repository at this point in the history
also cache index.crates.io
  • Loading branch information
dcermak authored Jul 31, 2023
2 parents 119d6bd + 53a5c2b commit b7fc8d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ jobs:
- name: Add /etc/host entries
run: |
# precache dns entries to avoid timeouts in the runs later
for host in updates.suse.com registry.suse.com registry.opensuse.org; do
for host in index.crates.io updates.suse.com registry.suse.com registry.opensuse.org; do
echo -e "$(getent ahostsv4 $host | grep STREAM | cut -d' ' -f1 | head -n 1)\t$host" | sudo tee -a /etc/hosts
done
Expand Down

0 comments on commit b7fc8d3

Please sign in to comment.