Skip to content

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

Merged
merged 1 commit into from
Aug 18, 2025
Merged

Conversation

Reedyuk
Copy link
Collaborator

@Reedyuk Reedyuk commented Aug 18, 2025

No description provided.

@Reedyuk Reedyuk requested review from nbransby and Copilot August 18, 2025 15:26
Copy link

@Copilot Copilot AI left a 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
Copy link
Preview

Copilot AI Aug 18, 2025

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.

Suggested change
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
Copy link
Preview

Copilot AI Aug 18, 2025

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.

Suggested change
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
Copy link
Preview

Copilot AI Aug 18, 2025

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.

Suggested change
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.

@Reedyuk Reedyuk merged commit a1c67d4 into master Aug 18, 2025
51 checks passed
@Reedyuk Reedyuk deleted the adjust-scripts-to-auto-fix branch August 18, 2025 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant