Skip to content

ci: add GitHub Actions CI workflow for PRs and main branch#24

Open
yshyn-iohk wants to merge 1 commit intomainfrom
fix/add-ci-workflow-11
Open

ci: add GitHub Actions CI workflow for PRs and main branch#24
yshyn-iohk wants to merge 1 commit intomainfrom
fix/add-ci-workflow-11

Conversation

@yshyn-iohk
Copy link
Copy Markdown
Contributor

Add a CI workflow that runs on all pull requests targeting main and on direct pushes to main. The workflow:

  • Checks out the code
  • Sets up Java 19 (Temurin) matching the jvmToolchain in build.gradle.kts
  • Configures Gradle via the official gradle/actions/setup-gradle action
  • Builds the project (excluding tests) to catch compilation errors fast
  • Runs the full test suite (JUnit Jupiter via Gradle)
  • Uploads test reports as a workflow artifact (retained 7 days)

Includes step-security/harden-runner for supply-chain security, consistent with other workflows in the org.

Fixes #11

Add a CI workflow that runs on all pull requests targeting main and on
direct pushes to main. The workflow:

- Checks out the code
- Sets up Java 19 (Temurin) matching the jvmToolchain in build.gradle.kts
- Configures Gradle via the official gradle/actions/setup-gradle action
- Builds the project (excluding tests) to catch compilation errors fast
- Runs the full test suite (JUnit Jupiter via Gradle)
- Uploads test reports as a workflow artifact (retained 7 days)

Includes step-security/harden-runner for supply-chain security, consistent
with other workflows in the org.

Fixes #11

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Yurii Shynbuiev <yurii.shynbuiev@iohk.io>
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Mar 5, 2026

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.

CI: run test on PR

2 participants