-
-
Notifications
You must be signed in to change notification settings - Fork 177
Added separate job for apiCheck #753
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a separate job for running API checks in the GitHub Actions workflows. The change separates API validation from the main linting job to improve workflow organization and potentially allow for parallel execution.
- Extracted API check functionality into a dedicated job in the pull request workflow
- Added API dump and check steps to the push workflow for maintaining API files
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
File | Description |
---|---|
.github/workflows/push.yml | Added API dump step and API check step, improved step naming |
.github/workflows/pull_request.yml | Extracted API check into separate job with its own environment setup |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
distribution: 'zulu' | ||
java-version: '17' | ||
- name: Run Api Check | ||
run: ./gradlew apiCheck |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inconsistent indentation: this step uses 5 spaces while other steps in the workflow use 8 spaces. The indentation should be consistent with the existing workflow format.
run: ./gradlew apiCheck | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
- name: Run Api Check | |
run: ./gradlew apiCheck |
Copilot uses AI. Check for mistakes.
distribution: 'zulu' | ||
java-version: '17' | ||
- name: Run Api Check | ||
run: ./gradlew apiCheck |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inconsistent indentation: this step uses 5 spaces while other steps in the workflow use 8 spaces. The indentation should be consistent with the existing workflow format.
run: ./gradlew apiCheck | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
- name: Run Api Check | |
run: ./gradlew apiCheck |
Copilot uses AI. Check for mistakes.
distribution: 'zulu' | ||
java-version: '17' | ||
- name: Run Api Check | ||
run: ./gradlew apiCheck |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inconsistent indentation: this step uses 5 spaces while other steps in the workflow use 8 spaces. The indentation should be consistent with the existing workflow format.
run: ./gradlew apiCheck | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
- name: Run Api Check | |
run: ./gradlew apiCheck |
Copilot uses AI. Check for mistakes.
No description provided.