Skip to content

Commit 9f34eda

Browse files
vishalg0wdaclaude
andauthored
fix(ci): bypass Go module proxy in submodule dependency workflow (#181)
The update-submodule-dependencies workflow runs immediately on push to main, but `go get @main` through proxy.golang.org resolves to the latest cached tagged version (v1.20.0) instead of the just-pushed commit. This caused failures when new packages (graph, oq) were added but not yet indexed by the proxy. Setting GOPROXY=direct fetches directly from GitHub, ensuring @main resolves to the actual branch tip. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c8d5d3a commit 9f34eda

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/update-submodule-dependencies.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
update-dependencies:
1919
name: Update submodule dependencies
2020
runs-on: ubuntu-latest
21+
env:
22+
GOPROXY: direct
2123
steps:
2224
- uses: actions/checkout@v6
2325

0 commit comments

Comments
 (0)