1028
All checks were successful
Clone Repository with Trojan-Go Proxy / clone_with_proxy (push) Successful in 40s

This commit is contained in:
298977887 2024-10-28 00:55:28 +08:00
parent 6a58b1d20d
commit 158c0d5176

View File

@ -76,6 +76,8 @@ jobs:
- name: 🌐 Step with Proxy (using ALL_PROXY only)
env:
ALL_PROXY: "socks5://127.0.0.1:1080"
http_proxy: "socks5://127.0.0.1:1080"
https_proxy: "socks5://127.0.0.1:1080"
run: |
echo "Checking IP with proxy using ALL_PROXY:"
curl -s https://httpbin.org/ip || echo "Request failed, even with proxy."
@ -83,6 +85,8 @@ jobs:
- name: 🌐 Step with Proxy (using wget)
env:
ALL_PROXY: "socks5://127.0.0.1:1080"
http_proxy: "socks5://127.0.0.1:1080"
https_proxy: "socks5://127.0.0.1:1080"
run: |
echo "Checking IP with proxy using wget:"
wget -qO- https://httpbin.org/ip || echo "Request failed, even with proxy."
@ -90,6 +94,8 @@ jobs:
- name: 🌐 Step with Proxy (git clone test)
env:
ALL_PROXY: "socks5://127.0.0.1:1080"
http_proxy: "socks5://127.0.0.1:1080"
https_proxy: "socks5://127.0.0.1:1080"
run: |
echo "Testing proxy with git clone:"
git clone https://github.com/httpbin/httpbin.git || echo "git clone failed, likely due to proxy issue."