From 73e6e40e71ce621691b55e021ebb14e19cd09c9e Mon Sep 17 00:00:00 2001 From: AndreasTu Date: Sat, 25 Oct 2025 10:23:32 +0200 Subject: [PATCH] Update workflow dependencies major versions Updated actions:checkout___major to v5 Updated actions:upload-artifact___major to v5 Updated github:codeql-action__analyze___major to v4 Updated github:codeql-action__init___major to v4 Updated Kotlin compiler for workflow to 2.2.21 --- .github/workflows/branches-and-prs.main.kts | 2 +- .github/workflows/branches-and-prs.yaml | 4 ++-- .github/workflows/codeql-analysis.main.kts | 6 +++--- .github/workflows/codeql-analysis.yaml | 6 +++--- .github/workflows/docs-pr.main.kts | 4 ++-- .github/workflows/docs-pr.yaml | 4 ++-- .github/workflows/release.main.kts | 2 +- .github/workflows/release.yaml | 6 +++--- gradle/libs.versions.toml | 2 +- 9 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/branches-and-prs.main.kts b/.github/workflows/branches-and-prs.main.kts index 743901d4b7..f2a8b3d7f6 100755 --- a/.github/workflows/branches-and-prs.main.kts +++ b/.github/workflows/branches-and-prs.main.kts @@ -23,7 +23,7 @@ @file:DependsOn("io.github.typesafegithub:github-workflows-kt:3.5.0") @file:Repository("https://bindings.krzeminski.it/") -@file:DependsOn("actions:checkout___major:[v4,v5-alpha)") +@file:DependsOn("actions:checkout___major:[v5,v6-alpha)") @file:DependsOn("codecov:codecov-action___major:[v5,v6-alpha)") import io.github.typesafegithub.workflows.actions.actions.Checkout diff --git a/.github/workflows/branches-and-prs.yaml b/.github/workflows/branches-and-prs.yaml index 167a8d5f76..e5593de77a 100644 --- a/.github/workflows/branches-and-prs.yaml +++ b/.github/workflows/branches-and-prs.yaml @@ -35,7 +35,7 @@ jobs: steps: - id: 'step-0' name: 'Checkout Repository' - uses: 'actions/checkout@v4' + uses: 'actions/checkout@v5' - id: 'step-1' name: 'Regenerate all Workflow YAMLs' run: 'find .github/workflows -mindepth 1 -maxdepth 1 -name ''*.main.kts'' -exec {} \;' @@ -106,7 +106,7 @@ jobs: steps: - id: 'step-0' name: 'Checkout Repository' - uses: 'actions/checkout@v4' + uses: 'actions/checkout@v5' with: fetch-depth: '2' - id: 'step-1' diff --git a/.github/workflows/codeql-analysis.main.kts b/.github/workflows/codeql-analysis.main.kts index cb4d553080..e641cf585d 100755 --- a/.github/workflows/codeql-analysis.main.kts +++ b/.github/workflows/codeql-analysis.main.kts @@ -23,9 +23,9 @@ @file:DependsOn("io.github.typesafegithub:github-workflows-kt:3.5.0") @file:Repository("https://bindings.krzeminski.it/") -@file:DependsOn("actions:checkout___major:[v4,v5-alpha)") -@file:DependsOn("github:codeql-action__analyze___major:[v3,v4-alpha)") -@file:DependsOn("github:codeql-action__init___major:[v3,v4-alpha)") +@file:DependsOn("actions:checkout___major:[v5,v6-alpha)") +@file:DependsOn("github:codeql-action__analyze___major:[v4,v5-alpha)") +@file:DependsOn("github:codeql-action__init___major:[v4,v5-alpha)") import io.github.typesafegithub.workflows.actions.actions.Checkout import io.github.typesafegithub.workflows.actions.github.CodeqlActionAnalyze diff --git a/.github/workflows/codeql-analysis.yaml b/.github/workflows/codeql-analysis.yaml index 350b3946f0..8103449113 100644 --- a/.github/workflows/codeql-analysis.yaml +++ b/.github/workflows/codeql-analysis.yaml @@ -44,16 +44,16 @@ jobs: steps: - id: 'step-0' name: 'Checkout Repository' - uses: 'actions/checkout@v4' + uses: 'actions/checkout@v5' - id: 'step-1' name: 'Set up JDKs' uses: './.github/actions/setup-build-env' - id: 'step-2' name: 'Initialize CodeQL' - uses: 'github/codeql-action/init@v3' + uses: 'github/codeql-action/init@v4' - id: 'step-3' name: 'Build Spock Classes' run: './gradlew --stacktrace --no-build-cache testClasses "-Dvariant=${{ matrix.variant }}" "-DjavaVersion=${{ matrix.variant == ''5.0'' && ''11'' || ''8'' }}"' - id: 'step-4' name: 'Perform CodeQL Analysis' - uses: 'github/codeql-action/analyze@v3' + uses: 'github/codeql-action/analyze@v4' diff --git a/.github/workflows/docs-pr.main.kts b/.github/workflows/docs-pr.main.kts index 96c824c3bf..5c0b34735c 100755 --- a/.github/workflows/docs-pr.main.kts +++ b/.github/workflows/docs-pr.main.kts @@ -23,8 +23,8 @@ @file:DependsOn("io.github.typesafegithub:github-workflows-kt:3.5.0") @file:Repository("https://bindings.krzeminski.it/") -@file:DependsOn("actions:checkout___major:[v4,v5-alpha)") -@file:DependsOn("actions:upload-artifact___major:[v4,v5-alpha)") +@file:DependsOn("actions:checkout___major:[v5,v6-alpha)") +@file:DependsOn("actions:upload-artifact___major:[v5,v6-alpha)") import io.github.typesafegithub.workflows.actions.actions.Checkout import io.github.typesafegithub.workflows.actions.actions.Checkout.FetchDepth diff --git a/.github/workflows/docs-pr.yaml b/.github/workflows/docs-pr.yaml index 50400f7b7c..52a931e894 100644 --- a/.github/workflows/docs-pr.yaml +++ b/.github/workflows/docs-pr.yaml @@ -35,7 +35,7 @@ jobs: steps: - id: 'step-0' name: 'Checkout Repository' - uses: 'actions/checkout@v4' + uses: 'actions/checkout@v5' with: fetch-depth: '1' - id: 'step-1' @@ -51,7 +51,7 @@ jobs: run: './gradlew --stacktrace asciidoctor javadoc "-Dvariant=5.0" "-DjavaVersion=25"' - id: 'step-4' name: 'Archive and upload docs' - uses: 'actions/upload-artifact@v4' + uses: 'actions/upload-artifact@v5' with: name: 'docs' path: |- diff --git a/.github/workflows/release.main.kts b/.github/workflows/release.main.kts index 81e82629d8..202ce84396 100755 --- a/.github/workflows/release.main.kts +++ b/.github/workflows/release.main.kts @@ -23,7 +23,7 @@ @file:DependsOn("io.github.typesafegithub:github-workflows-kt:3.5.0") @file:Repository("https://bindings.krzeminski.it/") -@file:DependsOn("actions:checkout___major:[v4,v5-alpha)") +@file:DependsOn("actions:checkout___major:[v5,v6-alpha)") @file:DependsOn("codecov:codecov-action___major:[v5,v6-alpha)") import io.github.typesafegithub.workflows.actions.actions.Checkout diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index fb6df78eb1..9395b36d5b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -86,7 +86,7 @@ jobs: steps: - id: 'step-0' name: 'Checkout Repository' - uses: 'actions/checkout@v4' + uses: 'actions/checkout@v5' with: fetch-depth: '2' - id: 'step-1' @@ -127,7 +127,7 @@ jobs: steps: - id: 'step-0' name: 'Checkout Repository' - uses: 'actions/checkout@v4' + uses: 'actions/checkout@v5' - id: 'step-1' name: 'Set up JDKs' uses: './.github/actions/setup-build-env' @@ -159,7 +159,7 @@ jobs: steps: - id: 'step-0' name: 'Checkout Repository' - uses: 'actions/checkout@v4' + uses: 'actions/checkout@v5' - id: 'step-1' name: 'Set up JDKs' uses: './.github/actions/setup-build-env' diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 992c4af58d..96ef3e11ee 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -11,7 +11,7 @@ junitPlatformVersionRange = "[1.12,7)" asm = '9.9' mockito4 = '4.11.0' mockito5 = '5.20.0' -workflows-kotlin = "2.1.21" +workflows-kotlin = "2.2.21" [libraries] jetbrains-annotations = "org.jetbrains:annotations:26.0.2-1"