Skip to content

Commit 8f70e6e

Browse files
committed
Use version ranges for actions to not use stale cache entries
1 parent 781adb1 commit 8f70e6e

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

.github/workflows/check-action-typing.main.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
// work-around for https://youtrack.jetbrains.com/issue/KT-69145
2424
@file:DependsOn("io.github.typesafegithub:github-workflows-kt:3.2.0")
2525

26-
@file:DependsOn("actions:checkout:v4")
27-
@file:DependsOn("typesafegithub:github-actions-typing:v2")
26+
@file:DependsOn("actions:checkout___major:[v4,v5-alpha)")
27+
@file:DependsOn("typesafegithub:github-actions-typing___major:[v2,v3-alpha)")
2828

2929
import io.github.typesafegithub.workflows.actions.actions.Checkout
3030
import io.github.typesafegithub.workflows.actions.typesafegithub.GithubActionsTyping

.github/workflows/check-all-workflow-yaml-consistency.main.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
@file:DependsOn("io.github.typesafegithub:github-workflows-kt:3.2.0")
2424

2525
@file:Repository("https://bindings.krzeminski.it/")
26-
@file:DependsOn("actions:checkout:v4")
26+
@file:DependsOn("actions:checkout___major:[v4,v5-alpha)")
2727

2828
import io.github.typesafegithub.workflows.actions.actions.Checkout
2929
import io.github.typesafegithub.workflows.domain.RunnerType.UbuntuLatest

.github/workflows/check-dependency-versions.main.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
@file:DependsOn("io.github.typesafegithub:github-workflows-kt:3.2.0")
2424

2525
@file:Repository("https://bindings.krzeminski.it/")
26-
@file:DependsOn("actions:checkout:v4")
27-
@file:DependsOn("actions:setup-java:v4")
28-
@file:DependsOn("burrunan:gradle-cache-action:v1")
26+
@file:DependsOn("actions:checkout___major:[v4,v5-alpha)")
27+
@file:DependsOn("actions:setup-java___major:[v4,v5-alpha)")
28+
@file:DependsOn("burrunan:gradle-cache-action___major:[v1,v2-alpha)")
2929

3030
import io.github.typesafegithub.workflows.actions.actions.Checkout
3131
import io.github.typesafegithub.workflows.actions.actions.SetupJava

.github/workflows/test.main.kts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323
@file:DependsOn("io.github.typesafegithub:github-workflows-kt:3.2.0")
2424

2525
@file:Repository("https://bindings.krzeminski.it/")
26-
@file:DependsOn("actions:cache__restore:v4")
27-
@file:DependsOn("actions:cache__save:v4")
28-
@file:DependsOn("actions:checkout:v4")
29-
@file:DependsOn("actions:setup-java:v4")
30-
@file:DependsOn("burrunan:gradle-cache-action:v1")
26+
@file:DependsOn("actions:cache__restore___major:[v4,v5-alpha)")
27+
@file:DependsOn("actions:cache__save___major:[v4,v5-alpha)")
28+
@file:DependsOn("actions:checkout___major:[v4,v5-alpha)")
29+
@file:DependsOn("actions:setup-java___major:[v4,v5-alpha)")
30+
@file:DependsOn("burrunan:gradle-cache-action___major:[v1,v2-alpha)")
3131
@file:DependsOn("Vampire:setup-wsl:RELEASE")
3232

3333
import io.github.typesafegithub.workflows.actions.actions.CacheRestore

.github/workflows/validate-gradle-wrapper.main.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
@file:DependsOn("io.github.typesafegithub:github-workflows-kt:3.2.0")
2424

2525
@file:Repository("https://bindings.krzeminski.it/")
26-
@file:DependsOn("actions:checkout:v4")
27-
@file:DependsOn("gradle:wrapper-validation-action:v1")
26+
@file:DependsOn("actions:checkout___major:[v4,v5-alpha)")
27+
@file:DependsOn("gradle:wrapper-validation-action___major:[v1,v2-alpha)")
2828

2929
import io.github.typesafegithub.workflows.actions.actions.Checkout
3030
import io.github.typesafegithub.workflows.actions.gradle.WrapperValidationAction

0 commit comments

Comments
 (0)