Skip to content

Commit f6a2a86

Browse files
Vampireleonard84
authored andcommitted
Use version ranges for actions to not use stale cache entries
1 parent 91ab363 commit f6a2a86

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/workflows/branches-and-prs.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.3.0")
2424

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

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

.github/workflows/codeql-analysis.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.3.0")
2424

2525
@file:Repository("https://bindings.krzeminski.it/")
26-
@file:DependsOn("actions:checkout:v4")
27-
@file:DependsOn("github:codeql-action__analyze:v3")
28-
@file:DependsOn("github:codeql-action__init:v3")
26+
@file:DependsOn("actions:checkout___major:[v4,v5-alpha)")
27+
@file:DependsOn("github:codeql-action__analyze___major:[v3,v4-alpha)")
28+
@file:DependsOn("github:codeql-action__init___major:[v3,v4-alpha)")
2929

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

.github/workflows/docs-pr.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.3.0")
2424

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

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

.github/workflows/release.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.3.0")
2424

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

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

0 commit comments

Comments
 (0)