Skip to content

Change default Gradle operation from 'test' to 'check' - #53

Merged
Fr3dric0 merged 1 commit into
mainfrom
run-check-job-instead-of-test
Jun 16, 2026
Merged

Change default Gradle operation from 'test' to 'check'#53
Fr3dric0 merged 1 commit into
mainfrom
run-check-job-instead-of-test

Conversation

@raeesabb

Copy link
Copy Markdown
Contributor

To enable Linting task running automatically, we are changing 'test' to 'check'. Most of the services would run fine without any changes. Some services would need small code changes (ref. https://trello.com/c/S1pkooUg/1878-linting-bør-kjøre-som-default-i-alle-servicer)

Copilot AI review requested due to automatic review settings June 15, 2026 07:35
@raeesabb
raeesabb requested a review from Fr3dric0 June 15, 2026 07:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 changes the default Gradle task executed by the shared reusable workflow test.gradle.yml from test to check, aiming to run linting/verification tasks automatically as part of the default Gradle verification step.

Changes:

  • Update on.workflow_call.inputs.gradle-operations.default from test ... to check ....

Changed files: .github/workflows/test.gradle.yml

Per-file validation

  • .github/workflows/test.gradle.yml
    • What changed: Default value for gradle-operations input.
    • Validation result: ❌ Error
    • Issue: Changing the default from testcheck is a non-additive behavioral change that can break existing @v2 consumers that rely on the default (more tasks executed; new failures/time increases). Callers in other repos cannot be audited from this repository.

Comment thread .github/workflows/test.gradle.yml
@Fr3dric0
Fr3dric0 merged commit 64e3856 into main Jun 16, 2026
1 check passed
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.

3 participants