File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import io.github.typesafegithub.workflows.dsl.JobBuilder
1919import io.github.typesafegithub.workflows.dsl.expressions.Contexts
2020import io.github.typesafegithub.workflows.dsl.expressions.expr
2121import io.github.typesafegithub.workflows.dsl.workflow
22+ import io.github.typesafegithub.workflows.yaml.CheckoutActionVersionSource
2223import io.github.typesafegithub.workflows.yaml.DEFAULT_CONSISTENCY_CHECK_JOB_CONFIG
2324import java.net.URI
2425import java.net.ConnectException
@@ -43,6 +44,7 @@ workflow(
4344 ),
4445 consistencyCheckJobConfig = DEFAULT_CONSISTENCY_CHECK_JOB_CONFIG .copy(
4546 useLocalBindingsServerAsFallback = true ,
47+ checkoutActionVersion = CheckoutActionVersionSource .InferFromClasspath (),
4648 ),
4749 sourceFile = __FILE__ ,
4850) {
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ import io.github.typesafegithub.workflows.domain.triggers.Push
2222import io.github.typesafegithub.workflows.dsl.expressions.Contexts
2323import io.github.typesafegithub.workflows.dsl.expressions.expr
2424import io.github.typesafegithub.workflows.dsl.workflow
25+ import io.github.typesafegithub.workflows.yaml.CheckoutActionVersionSource
2526import io.github.typesafegithub.workflows.yaml.DEFAULT_CONSISTENCY_CHECK_JOB_CONFIG
2627
2728val GRADLE_ENCRYPTION_KEY by Contexts .secrets
@@ -34,6 +35,7 @@ workflow(
3435 ),
3536 consistencyCheckJobConfig = DEFAULT_CONSISTENCY_CHECK_JOB_CONFIG .copy(
3637 useLocalBindingsServerAsFallback = true ,
38+ checkoutActionVersion = CheckoutActionVersionSource .InferFromClasspath (),
3739 ),
3840 sourceFile = __FILE__ ,
3941) {
Original file line number Diff line number Diff line change @@ -19,13 +19,15 @@ import io.github.typesafegithub.workflows.domain.triggers.Push
1919import io.github.typesafegithub.workflows.dsl.JobBuilder
2020import io.github.typesafegithub.workflows.dsl.expressions.expr
2121import io.github.typesafegithub.workflows.dsl.workflow
22+ import io.github.typesafegithub.workflows.yaml.CheckoutActionVersionSource
2223import io.github.typesafegithub.workflows.yaml.DEFAULT_CONSISTENCY_CHECK_JOB_CONFIG
2324
2425workflow(
2526 name = " Release" ,
2627 on = listOf (Push (tags = listOf (" v*.*.*" ))),
2728 consistencyCheckJobConfig = DEFAULT_CONSISTENCY_CHECK_JOB_CONFIG .copy(
2829 useLocalBindingsServerAsFallback = true ,
30+ checkoutActionVersion = CheckoutActionVersionSource .InferFromClasspath (),
2931 ),
3032 sourceFile = __FILE__ ,
3133 env = mapOf (
You can’t perform that action at this time.
0 commit comments