Skip to content

Commit

Permalink
also cache index.crates.io
Browse files Browse the repository at this point in the history
This is used by the rust tests
  • Loading branch information
dirkmueller committed Jul 31, 2023
1 parent 1105535 commit 53a5c2b
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 53a5c2b

Please sign in to comment.