Skip to content
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

Split CI workflow into multiple jobs per language #239

Merged
merged 3 commits into from
Jan 17, 2025
Merged

Conversation

Lipen
Copy link
Member

@Lipen Lipen commented Jan 15, 2025

This PR splits the CI (Github Actions) workflow into a set of jobs, one per supported language (core, JVM, Python, TS), plus a separate lint job (with Detekt).

Notable updates:

  • The default runner for all CI tasks (except lint, which uses the latest one) is now ubuntu-24.04, customized via env.RUNNER workflow variable (non-constant values are not supported for runs-on).
  • The default Java for all CI jobs (except lint, which uses the latest one) is no more in the matrix (as the matrix contained only a single version '11'), and simply customized via env.JAVA workflow variable.
  • Java distribution was left to be "zulu" and now can be customized via env.JAVA_DISTRIBUTION workflow variable.
  • actions/setup-java updated to v4
  • gradle/gradle-build-action@v2 updated to gradle/actions/setup-gradle@v4
  • Only the ci-python workflow job checkouts the repo with submodules.

This PR supercedes #237.

@Lipen Lipen requested a review from Saloed January 15, 2025 16:37
@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@Lipen Lipen force-pushed the lipen/split-ci branch 2 times, most recently from f426894 to 236f8d3 Compare January 15, 2025 17:03
Lipen added 2 commits January 17, 2025 02:15
`gradle/actions/setup-gradle` already provides better cache
@Lipen Lipen merged commit 8c87d76 into main Jan 17, 2025
6 checks passed
@Lipen Lipen deleted the lipen/split-ci branch January 17, 2025 11:05
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.

2 participants