Repository navigation
Speed up CI: preinstalled Python, earlier snapshot pickup, configuration cache - #2021
Merged
Merged
Conversation
…snapshot is published, cache configuration - setup-python 3.15.0 is not in the runner tool cache, so every job downloaded and installed it (up to 90s on Windows/macOS). Use '3.x' to pick the preinstalled version. - Wait for the 'konsist-snapshot-version' artifact instead of Publish run completion. The artifact is available ~1 min before the run is marked as completed. Poll every 5s, starting 75s after the Publish run start (artifact is uploaded after 81-113s). - Pass GRADLE_ENCRYPTION_KEY to setup-gradle in workflows building the root project, so configuration cache entries are saved and restored.
📦 Konsist snapshot published
repositories {
maven("https://central.sonatype.com/repository/maven-snapshots/")
}
dependencies {
testImplementation("com.lemonappdev:konsist:1.0.0-alpha.1-20261013.083855-5")
}Snapshots are removed from the Central snapshots repository after 90 days. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Speeds up CI. Check Test Project is the slowest workflow on PRs, at ~5.8 min.
setup-python3.15.0is not preinstalled on runners, so it is downloaded and installed in every job'3.x'uses the preinstalled version)konsist-snapshot-versionartifact every 5s, starting 75s after Publish starts (uploads take 81–113s)cache-encryption-key)build-logiccompile per Check jobdevelopcache viaGRADLE_ENCRYPTION_KEY(check.yml, ktdoc snippets)Expected: Check Test Project ~5.8 → ~3.5–4 min on PRs. Configuration cache only pays off after the first
developpush stores the cache.