Skip to content

fix: updated to actions/checkout@v6 and avoid running following jobs if no new code added#55

Merged
Nacchofer31 merged 3 commits into
masterfrom
fix/pipelines-without-tests
Jun 3, 2026
Merged

fix: updated to actions/checkout@v6 and avoid running following jobs if no new code added#55
Nacchofer31 merged 3 commits into
masterfrom
fix/pipelines-without-tests

Conversation

@Nacchofer31

Copy link
Copy Markdown
Owner

CI: Optimize workflow triggers and update checkout action

Changes

  • Added detect-changes job in pr-checks.yml using dorny/paths-filter@v3 to detect changes in Kotlin/Java source files (composeApp/src/**/*.kt, composeApp/src/**/*.java)
  • spotless, unit-tests, instrumented-tests and coverage jobs now only run when source files are modified — skipped for config/dependency-only changes (e.g. build.gradle.kts, gradle.properties)
  • build job continues to run on every push/PR to verify the project compiles regardless of what changed
  • Updated actions/checkout from v4 to v6 across all workflows (build.yml, unit-tests.yml, instrumented-tests.yml, spotless.yml, coverage.yml, publish-android.yml, pr-checks.yml)

- Add detect-changes job using paths-filter
- Run spotless and tests conditionally
- Check for Kotlin and Java file changes
@Nacchofer31 Nacchofer31 self-assigned this Jun 3, 2026
@Nacchofer31 Nacchofer31 merged commit 0fcd249 into master Jun 3, 2026
6 checks 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.

1 participant