Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/branches-and-prs.main.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@

@file:Repository("https://repo.maven.apache.org/maven2/")
// work-around for https://youtrack.jetbrains.com/issue/KT-69145
@file:DependsOn("io.github.typesafegithub:github-workflows-kt:3.6.0")
@file:DependsOn("io.github.typesafegithub:github-workflows-kt:3.7.0")

@file:Repository("https://bindings.krzeminski.it/")
@file:DependsOn("actions:checkout___major:[v5,v6-alpha)")
@file:DependsOn("actions:checkout___major:[v6,v7-alpha)")
@file:DependsOn("codecov:codecov-action___major:[v5,v6-alpha)")

import io.github.typesafegithub.workflows.actions.actions.Checkout
import io.github.typesafegithub.workflows.actions.actions.Checkout.FetchDepth
import io.github.typesafegithub.workflows.actions.codecov.CodecovAction
import io.github.typesafegithub.workflows.actions.codecov.CodecovAction_Untyped
import io.github.typesafegithub.workflows.domain.Concurrency
import io.github.typesafegithub.workflows.domain.RunnerType
import io.github.typesafegithub.workflows.domain.RunnerType.UbuntuLatest
Expand Down Expand Up @@ -127,8 +127,8 @@ workflow(
)
uses(
name = "Upload to Codecov.io",
action = CodecovAction(
failCiIfError = true
action = CodecovAction_Untyped(
failCiIfError_Untyped = "true"
)
)
}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/branches-and-prs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
steps:
- id: 'step-0'
name: 'Checkout Repository'
uses: 'actions/checkout@v5'
uses: 'actions/checkout@v6'
- id: 'step-1'
name: 'Regenerate all Workflow YAMLs'
run: 'find .github/workflows -mindepth 1 -maxdepth 1 -name ''*.main.kts'' -exec {} \;'
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
steps:
- id: 'step-0'
name: 'Checkout Repository'
uses: 'actions/checkout@v5'
uses: 'actions/checkout@v6'
with:
fetch-depth: '2'
- id: 'step-1'
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/codeql-analysis.main.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@

@file:Repository("https://repo.maven.apache.org/maven2/")
// work-around for https://youtrack.jetbrains.com/issue/KT-69145
@file:DependsOn("io.github.typesafegithub:github-workflows-kt:3.6.0")
@file:DependsOn("io.github.typesafegithub:github-workflows-kt:3.7.0")

@file:Repository("https://bindings.krzeminski.it/")
@file:DependsOn("actions:checkout___major:[v5,v6-alpha)")
@file:DependsOn("github:codeql-action__analyze___major:v4")
@file:DependsOn("github:codeql-action__init___major:v4")
@file:DependsOn("actions:checkout___major:[v6,v7-alpha)")
@file:DependsOn("github:codeql-action__analyze___major:[v4.32.4,v5-alpha)")
@file:DependsOn("github:codeql-action__init___major:[v4.32.4,v5-alpha)")

import io.github.typesafegithub.workflows.actions.actions.Checkout
import io.github.typesafegithub.workflows.actions.github.CodeqlActionAnalyze
import io.github.typesafegithub.workflows.actions.github.CodeqlActionInit
import io.github.typesafegithub.workflows.actions.github.CodeqlActionAnalyze_Untyped
import io.github.typesafegithub.workflows.actions.github.CodeqlActionInit_Untyped
import io.github.typesafegithub.workflows.domain.Concurrency
import io.github.typesafegithub.workflows.domain.RunnerType.UbuntuLatest
import io.github.typesafegithub.workflows.domain.triggers.*
Expand Down Expand Up @@ -85,7 +85,7 @@ workflow(
// Initializes the CodeQL tools for scanning
uses(
name = "Initialize CodeQL",
action = CodeqlActionInit(
action = CodeqlActionInit_Untyped(
// Override language selection by uncommenting this and choosing your languages
// languages = listOf("go", "javascript", "csharp", "python", "cpp", "java"),
)
Expand Down Expand Up @@ -127,7 +127,7 @@ workflow(
)
uses(
name = "Perform CodeQL Analysis",
action = CodeqlActionAnalyze()
action = CodeqlActionAnalyze_Untyped()
)
}
}
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
steps:
- id: 'step-0'
name: 'Checkout Repository'
uses: 'actions/checkout@v5'
uses: 'actions/checkout@v6'
- id: 'step-1'
name: 'Set up JDKs'
uses: './.github/actions/setup-build-env'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/common.main.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

@file:Repository("https://repo.maven.apache.org/maven2/")
@file:DependsOn("io.github.typesafegithub:github-workflows-kt:3.6.0")
@file:DependsOn("io.github.typesafegithub:github-workflows-kt:3.7.0")

import io.github.typesafegithub.workflows.domain.Job
import io.github.typesafegithub.workflows.domain.JobOutputs.EMPTY
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docs-pr.main.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@

@file:Repository("https://repo.maven.apache.org/maven2/")
// work-around for https://youtrack.jetbrains.com/issue/KT-69145
@file:DependsOn("io.github.typesafegithub:github-workflows-kt:3.6.0")
@file:DependsOn("io.github.typesafegithub:github-workflows-kt:3.7.0")

@file:Repository("https://bindings.krzeminski.it/")
@file:DependsOn("actions:checkout___major:[v5,v6-alpha)")
@file:DependsOn("actions:upload-artifact___major:[v5,v6-alpha)")
@file:DependsOn("actions:checkout___major:[v6,v7-alpha)")
@file:DependsOn("actions:upload-artifact___major:[v5,7.0)")

import io.github.typesafegithub.workflows.actions.actions.Checkout
import io.github.typesafegithub.workflows.actions.actions.Checkout.FetchDepth
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
steps:
- id: 'step-0'
name: 'Checkout Repository'
uses: 'actions/checkout@v5'
uses: 'actions/checkout@v6'
with:
fetch-depth: '1'
- id: 'step-1'
Expand All @@ -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@v5'
uses: 'actions/upload-artifact@v6'
with:
name: 'docs'
path: |-
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.main.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@

@file:Repository("https://repo.maven.apache.org/maven2/")
// work-around for https://youtrack.jetbrains.com/issue/KT-69145
@file:DependsOn("io.github.typesafegithub:github-workflows-kt:3.6.0")
@file:DependsOn("io.github.typesafegithub:github-workflows-kt:3.7.0")

@file:Repository("https://bindings.krzeminski.it/")
@file:DependsOn("actions:checkout___major:[v5,v6-alpha)")
@file:DependsOn("actions:checkout___major:[v6,v7-alpha)")
@file:DependsOn("codecov:codecov-action___major:[v5,v6-alpha)")

import io.github.typesafegithub.workflows.actions.actions.Checkout
import io.github.typesafegithub.workflows.actions.actions.Checkout.FetchDepth
import io.github.typesafegithub.workflows.actions.codecov.CodecovAction
import io.github.typesafegithub.workflows.actions.codecov.CodecovAction_Untyped
import io.github.typesafegithub.workflows.domain.RunnerType
import io.github.typesafegithub.workflows.domain.triggers.Push
import io.github.typesafegithub.workflows.dsl.expressions.Contexts.github
Expand Down Expand Up @@ -103,8 +103,8 @@ workflow(
)
uses(
name = "Upload to Codecov.io",
action = CodecovAction(
failCiIfError = true
action = CodecovAction_Untyped(
failCiIfError_Untyped = "true"
)
)
}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
steps:
- id: 'step-0'
name: 'Checkout Repository'
uses: 'actions/checkout@v5'
uses: 'actions/checkout@v6'
with:
fetch-depth: '2'
- id: 'step-1'
Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
steps:
- id: 'step-0'
name: 'Checkout Repository'
uses: 'actions/checkout@v5'
uses: 'actions/checkout@v6'
- id: 'step-1'
name: 'Set up JDKs'
uses: './.github/actions/setup-build-env'
Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:
steps:
- id: 'step-0'
name: 'Checkout Repository'
uses: 'actions/checkout@v5'
uses: 'actions/checkout@v6'
- id: 'step-1'
name: 'Set up JDKs'
uses: './.github/actions/setup-build-env'
Expand Down