Skip to content

Commit dc4aaec

Browse files
committed
Re-introduce fix for unprivileged ping sockets
1 parent f88c90a commit dc4aaec

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/actions/common/action.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ runs:
1010
sudo apt update
1111
sudo apt install -y libxml2-dev libxslt-dev
1212
shell: bash
13+
- name: Enable unprivileged ping sockets
14+
# actions/runner-images#11614
15+
if: matrix.platform == 'ubuntu-latest'
16+
shell: bash
17+
run: |
18+
echo 'net.ipv4.ping_group_range = 0 2147483647' | sudo tee -a /etc/sysctl.conf
19+
sudo sysctl -p
1320
- name: Setup Python
1421
uses: actions/setup-python@v4
1522
with:

0 commit comments

Comments
 (0)