Skip to content

Commit ab42e0c

Browse files
committed
add coreutils for timeout
1 parent bf485c5 commit ab42e0c

File tree

3 files changed

+32
-16
lines changed

3 files changed

+32
-16
lines changed

.github/workflows/ubuntu_2204.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@ jobs:
1515
steps:
1616
- name: 🔧 Install dependencies
1717
run: |
18-
sudo apt-get install \
19-
curl \
20-
iputils-ping \
21-
traceroute \
22-
netcat-openbsd \
23-
grep \
24-
sed
18+
sudo apt-get install \
19+
coreutils \
20+
curl \
21+
grep \
22+
iputils-ping \
23+
netcat-openbsd \
24+
sed \
25+
traceroute
2526
2627
# Test commands
2728
- name: 🐧 Test ping

.github/workflows/ubuntu_2404.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@ jobs:
1515
steps:
1616
- name: 🔧 Install dependencies
1717
run: |
18-
sudo apt-get install \
19-
curl \
20-
iputils-ping \
21-
traceroute \
22-
netcat-openbsd \
23-
grep \
24-
sed
18+
sudo apt-get install \
19+
coreutils \
20+
curl \
21+
grep \
22+
iputils-ping \
23+
netcat-openbsd \
24+
sed \
25+
traceroute
2526
2627
# Test commands
2728
- name: 🐧 Test ping

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,28 @@ Add:
103103

104104
## Requirements ⚙️
105105

106-
Only `bash`, `ping`, `traceroute`, `curl`, `nc`, `grep` and `sed`.
106+
Only
107+
`bash`,
108+
`coreutils`
109+
`curl`,
110+
`grep`,
111+
`nc`,
112+
`ping`,
113+
`sed` and `traceroute`.
107114
In many *NIX distributions (Ubuntu, macOS) the commands are already included.
108115
If not, the missing packages can be installed quickly.
109116

110117
On a debian-based system (Ubuntu), just run:
111118

112119
```shell
113-
sudo apt install curl iputils-ping traceroute netcat-openbsd grep sed
120+
sudo apt install \
121+
coreutils \
122+
curl \
123+
grep \
124+
iputils-ping \
125+
netcat-openbsd \
126+
sed \
127+
traceroute
114128
```
115129

116130
> 💡 Tip: You can disable the `traceroute` dependency. Add `MY_TRACEROUTE_HOST=''` to your config.

0 commit comments

Comments
 (0)