This commit is contained in:
parent
0ca224ae58
commit
c64cd247c3
1 changed files with 8 additions and 1 deletions
|
@ -11,10 +11,17 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: ubuntu:24.04
|
image: ubuntu:24.04
|
||||||
steps:
|
steps:
|
||||||
- run: |
|
- name: Check IPv6
|
||||||
|
run: |
|
||||||
echo "My routes" && cat /proc/net/route
|
echo "My routes" && cat /proc/net/route
|
||||||
echo "My routes (IPv6)" && cat /proc/net/ipv6_route
|
echo "My routes (IPv6)" && cat /proc/net/ipv6_route
|
||||||
echo 'Acquire::ForceIPv6 "true";' > /etc/apt/apt.conf.d/1000-force-ipv6-transport
|
echo 'Acquire::ForceIPv6 "true";' > /etc/apt/apt.conf.d/1000-force-ipv6-transport
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install --yes curl
|
apt-get install --yes curl
|
||||||
curl -s -o /dev/null https://ipv6.google.com
|
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
|
||||||
|
|
Loading…
Add table
Reference in a new issue