diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index be1931e..2c44401 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -30,5 +30,7 @@ jobs: uses: 5ym/repo-config/.github/workflows/codeql.yml@main with: languages: '["actions", "csharp"]' - # ソリューションごと。.NET は共有の側の既定 (10.x の最新) + # ソリューションごと csharp-build: dotnet build Aizuchi.slnx + # 共有の側の既定は 10.x で net11.0 を組めないので渡す (global.json は置いていない) + dotnet-version: 11.x diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3496a9e..67e4953 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v7 - uses: actions/setup-dotnet@v6 with: - dotnet-version: 10.0.404 + dotnet-version: 11.0.100 # TUnit はテストプロジェクト自体が実行ファイル - run: dotnet run --project tests/Aizuchi.Tests.csproj - name: Helm lint diff --git a/Directory.Build.props b/Directory.Build.props index 55fd8d8..b277de9 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,6 +1,6 @@ - net10.0 + net11.0 enable enable diff --git a/README.md b/README.md index 2e74a1b..fbbb773 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # aizuchi チャットで相槌を打つ AI ボット。**コネクタ(Slack …)× プロバイダ(Claude …)× 道具(GitHub、OpenProject …)** を -差し替えられる器で、.NET 10 Native AOT の単一バイナリ。Socket Mode なので公開 URL も Ingress も要らず、 +差し替えられる器で、.NET 11 Native AOT の単一バイナリ。Socket Mode なので公開 URL も Ingress も要らず、 k3s に Helm で置けば動く。 SaaS の有料「Slack 連携」の置き換え先も兼ねる。外部サービスの webhook を受けてチャンネルに流すときだけ `/webhooks/` を Ingress に出す。 diff --git a/src/Aizuchi.Core/Aizuchi.Core.csproj b/src/Aizuchi.Core/Aizuchi.Core.csproj index 8d84a66..212f81b 100644 --- a/src/Aizuchi.Core/Aizuchi.Core.csproj +++ b/src/Aizuchi.Core/Aizuchi.Core.csproj @@ -1,6 +1,5 @@ - - - - + diff --git a/tests/Aizuchi.Tests.csproj b/tests/Aizuchi.Tests.csproj index 5be0f4a..1fc3533 100644 --- a/tests/Aizuchi.Tests.csproj +++ b/tests/Aizuchi.Tests.csproj @@ -6,7 +6,7 @@ Exe - +