-
-
Notifications
You must be signed in to change notification settings - Fork 0
[Sync] Update project files from source repository (828bb48) #36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -111,21 +111,37 @@ jobs: | |||||
| runner-os: ${{ inputs.primary-runner }} | ||||||
|
|
||||||
| # -------------------------------------------------------------------- | ||||||
| # Run go vet with parallel execution | ||||||
| # Run go vet with sequential execution to avoid memory issues | ||||||
| # -------------------------------------------------------------------- | ||||||
| - name: 🔍 Go vet (parallel) | ||||||
| - name: 🔍 Go vet (sequential) | ||||||
| run: | | ||||||
| echo "🚀 Running static analysis with go vet (parallel mode)..." | ||||||
| echo "🚀 Running static analysis with go vet (sequential mode)..." | ||||||
| GO_MODULE_DIR="${{ env.GO_MODULE_DIR }}" | ||||||
|
|
||||||
| # Run go vet on packages sequentially to reduce memory usage | ||||||
| if [ -n "$GO_MODULE_DIR" ]; then | ||||||
| echo "🔧 Running magex vet from directory: $GO_MODULE_DIR" | ||||||
| (cd "$GO_MODULE_DIR" && magex vet) | ||||||
| echo "🔧 Running go vet from directory: $GO_MODULE_DIR" | ||||||
| cd "$GO_MODULE_DIR" | ||||||
| else | ||||||
| echo "🔧 Running magex vet from repository root" | ||||||
| magex vet | ||||||
| echo "🔧 Running go vet from repository root" | ||||||
| fi | ||||||
|
|
||||||
| # Get all packages and vet them one at a time | ||||||
| PACKAGES=$(go list ./... 2>/dev/null | grep -v /vendor/) | ||||||
|
||||||
| PACKAGES=$(go list ./... 2>/dev/null | grep -v /vendor/) | |
| PACKAGES=$(go list ./... 2>/dev/null) |
Uh oh!
There was an error while loading. Please reload this page.