test: use ping to improve network test (#2266)

This commit is contained in:
Jason Song
2024-03-28 19:56:26 +08:00
committed by GitHub
parent 069720abff
commit f56dd65ff6

View File

@@ -7,8 +7,8 @@ jobs:
- name: Install tools - name: Install tools
run: | run: |
apt update apt update
apt install -y bind9-host apt install -y iputils-ping
- name: Run hostname test - name: Run hostname test
run: | run: |
hostname -f hostname -f
host $(hostname -f) ping -c 4 $(hostname -f)