diff --git a/.github/workflows/csharp-qltest.yml b/.github/workflows/csharp-qltest.yml index cb301d65f9aa..c24b8d3bc007 100644 --- a/.github/workflows/csharp-qltest.yml +++ b/.github/workflows/csharp-qltest.yml @@ -5,8 +5,10 @@ on: paths: - "csharp/**" - "shared/**" + - "misc/bazel/**" - .github/actions/fetch-codeql/action.yml - codeql-workspace.yml + - "MODULE.bazel" branches: - main - "rc/*" @@ -14,9 +16,11 @@ on: paths: - "csharp/**" - "shared/**" + - "misc/bazel/**" - .github/workflows/csharp-qltest.yml - .github/actions/fetch-codeql/action.yml - codeql-workspace.yml + - "MODULE.bazel" branches: - main - "rc/*" diff --git a/misc/bazel/csharp.bzl b/misc/bazel/csharp.bzl index be891b142f94..2ba8c59f0767 100644 --- a/misc/bazel/csharp.bzl +++ b/misc/bazel/csharp.bzl @@ -2,7 +2,7 @@ load("@rules_dotnet//dotnet:defs.bzl", "csharp_binary", "csharp_library", "cshar load("@rules_pkg//pkg:mappings.bzl", "strip_prefix") load("//misc/bazel:pkg.bzl", "codeql_pkg_files") -TARGET_FRAMEWORK = "net8.0" +TARGET_FRAMEWORK = "net9.0" def _gen_assembly_info(name): assembly_info_gen = name + "-assembly-info"