Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add proxy and curl setup to CI workflow
Configured HTTP and HTTPS proxy environment variables and added steps to install curl and run a test request in the GitHub Actions workflow for macOS. This helps ensure network requests go through the specified proxy during CI runs.
  • Loading branch information
chris1111 committed Oct 16, 2025
commit 5c4a1b5de8bcf0caf9b3da12d80cd4f9c03d0322
12 changes: 12 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,18 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set proxy
run: |
echo "HTTP_PROXY=http://10.10.10.10:3128" >> $GITHUB_ENV
echo "HTTPS_PROXY=http://10.10.10.10:3128" >> $GITHUB_ENV
- uses: actions/setup-php@v2
- name: Install curl
run: |
apt-get update
apt-get install -y curl
- name: Run test
run: |
curl -v https://www.google.com

- name: Manage Version
run: |
Expand Down