Skip to content

Commit 4811089

Browse files
committed
Update Checkout to v6
1 parent feea633 commit 4811089

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/codeql-analysis.main.kts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
@file:DependsOn("io.github.typesafegithub:github-workflows-kt:3.7.0")
2424

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

3030
import io.github.typesafegithub.workflows.actions.actions.Checkout
31-
import io.github.typesafegithub.workflows.actions.github.CodeqlActionAnalyze
32-
import io.github.typesafegithub.workflows.actions.github.CodeqlActionInit
31+
import io.github.typesafegithub.workflows.actions.github.CodeqlActionAnalyze_Untyped
32+
import io.github.typesafegithub.workflows.actions.github.CodeqlActionInit_Untyped
3333
import io.github.typesafegithub.workflows.domain.Concurrency
3434
import io.github.typesafegithub.workflows.domain.RunnerType.UbuntuLatest
3535
import io.github.typesafegithub.workflows.domain.triggers.*
@@ -85,7 +85,7 @@ workflow(
8585
// Initializes the CodeQL tools for scanning
8686
uses(
8787
name = "Initialize CodeQL",
88-
action = CodeqlActionInit(
88+
action = CodeqlActionInit_Untyped(
8989
// Override language selection by uncommenting this and choosing your languages
9090
// languages = listOf("go", "javascript", "csharp", "python", "cpp", "java"),
9191
)
@@ -127,7 +127,7 @@ workflow(
127127
)
128128
uses(
129129
name = "Perform CodeQL Analysis",
130-
action = CodeqlActionAnalyze()
130+
action = CodeqlActionAnalyze_Untyped()
131131
)
132132
}
133133
}

.github/workflows/codeql-analysis.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
steps:
4545
- id: 'step-0'
4646
name: 'Checkout Repository'
47-
uses: 'actions/checkout@v5'
47+
uses: 'actions/checkout@v6'
4848
- id: 'step-1'
4949
name: 'Set up JDKs'
5050
uses: './.github/actions/setup-build-env'

0 commit comments

Comments
 (0)