Add proxy check to test action
Some checks failed
/ ipv6 (push) Failing after 32s

This commit is contained in:
Magnus Leßmann (@MarkL4YG) 2025-01-09 13:46:33 +01:00
parent 0ca224ae58
commit c64cd247c3
Signed by: Mark.TwoFive
GPG key ID: 5B5EBCBE331F1E6F

View file

@ -11,10 +11,17 @@ jobs:
container:
image: ubuntu:24.04
steps:
- run: |
- name: Check IPv6
run: |
echo "My routes" && cat /proc/net/route
echo "My routes (IPv6)" && cat /proc/net/ipv6_route
echo 'Acquire::ForceIPv6 "true";' > /etc/apt/apt.conf.d/1000-force-ipv6-transport
apt-get update
apt-get install --yes curl
curl -s -o /dev/null https://ipv6.google.com
- name: Check IPv4 proxy
env:
HTTP_PROXY: "http://10.0.0.2:8888"
HTTPS_PROXY: "http://10.0.0.2:8888"
run: |
curl -s -o /dev/null https://ipv4.google.com