From aedef2f1821939a4f33db174ac6595564fa044b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Kautler?= Date: Sat, 1 Apr 2023 17:38:21 +0200 Subject: [PATCH] Update github-actions-kotlin-dsl to 0.40.0 --- .../check-dependency-versions.main.kts | 4 +--- .../workflows/check-dependency-versions.yaml | 2 +- .github/workflows/test.main.kts | 21 ------------------- .../workflow-with-copyright.main.kts | 2 +- 4 files changed, 3 insertions(+), 26 deletions(-) diff --git a/.github/workflows/check-dependency-versions.main.kts b/.github/workflows/check-dependency-versions.main.kts index 0276fe8d..75cce4c7 100755 --- a/.github/workflows/check-dependency-versions.main.kts +++ b/.github/workflows/check-dependency-versions.main.kts @@ -34,9 +34,7 @@ workflowWithCopyright( Cron( minute = "0", hour = "0", - // work-around for https://github.com/krzema12/github-workflows-kt/issues/642 - // use FRI after the issue is fixed - dayWeek = "5" + dayWeek = "FRI" ) ) ) diff --git a/.github/workflows/check-dependency-versions.yaml b/.github/workflows/check-dependency-versions.yaml index b4ce07e7..e7d59370 100644 --- a/.github/workflows/check-dependency-versions.yaml +++ b/.github/workflows/check-dependency-versions.yaml @@ -19,7 +19,7 @@ name: Check Dependency Versions on: schedule: - - cron: 0 0 * * 5 + - cron: 0 0 * * FRI jobs: check_yaml_consistency: name: Check YAML consistency diff --git a/.github/workflows/test.main.kts b/.github/workflows/test.main.kts index 0740a33c..7d6933d0 100755 --- a/.github/workflows/test.main.kts +++ b/.github/workflows/test.main.kts @@ -1070,24 +1070,3 @@ val Step.successNotOnUbuntu2204Condition """.trimIndent() val Step.outcome get() = "steps.$id.outcome" - -// work-around for https://github.com/krzema12/github-workflows-kt/issues/640 -fun SetupWslV1.copy( - distribution: Distribution? = null, - useCache: Boolean? = null, - wslConf: String? = null, - setAsDefault: Boolean? = null, - update: Boolean? = null, - additionalPackages: List? = null, - wslShellUser: String? = null, - wslShellCommand: String? = null -) = SetupWslV1( - distribution = distribution ?: this.distribution, - useCache = useCache ?: this.useCache, - wslConf = wslConf ?: this.wslConf, - setAsDefault = setAsDefault ?: this.setAsDefault, - update = update ?: this.update, - additionalPackages = additionalPackages ?: this.additionalPackages, - wslShellUser = wslShellUser ?: this.wslShellUser, - wslShellCommand = wslShellCommand ?: this.wslShellCommand -) diff --git a/.github/workflows/workflow-with-copyright.main.kts b/.github/workflows/workflow-with-copyright.main.kts index 665b294e..351f1e7f 100644 --- a/.github/workflows/workflow-with-copyright.main.kts +++ b/.github/workflows/workflow-with-copyright.main.kts @@ -14,7 +14,7 @@ * limitations under the License. */ -@file:DependsOn("it.krzeminski:github-actions-kotlin-dsl:0.37.0") +@file:DependsOn("it.krzeminski:github-actions-kotlin-dsl:0.40.0") import it.krzeminski.githubactions.domain.Concurrency import it.krzeminski.githubactions.domain.triggers.Trigger