Add comprehensive client verification workflow#17
Open
guysmoilov wants to merge 3 commits intomainfrom
Open
Conversation
- Verify Python: syntax, imports, and flake8 linting - Verify TypeScript: compilation with tsc - Verify JavaScript: syntax checking - Verify Java: Gradle build - Verify Go: module initialization and build - Verify C#: dotnet build - Verify Kotlin: Gradle build - Verify Scala: Gradle/SBT detection - Verify Swift: Package.swift or syntax check - Verify R: package structure and syntax This workflow runs on all PRs to ensure auto-generated clients compile and pass basic sanity checks.
- Java/Scala: Add chmod +x for gradlew scripts - C#: Use Windows runner with MSBuild for .NET Framework 4.5 - Go: Mark as continue-on-error (generated code has missing imports) - Kotlin: Add chmod +x for gradlew, mark continue-on-error (Gradle compatibility)
These clients have issues in their generated code/build files: - Java: Uses Gradle 2.6 which doesn't support Java 17 - C#: Targets .NET Framework 4.5 (not available) - Kotlin: Gradle deprecated API usage - Scala: Missing/corrupted Gradle wrapper jar - Go: Missing imports in generated code Marking as continue-on-error allows them to run and provide feedback without blocking PRs. The 5 working clients (Python, TypeScript, JavaScript, Swift, R) will still be required checks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a GitHub Actions workflow to automatically verify all generated API clients on PRs.
What it does
Runs automated checks for all 10 client languages:
Benefits
Test Plan