diff --git a/.docfx/Dockerfile.docfx b/.docfx/Dockerfile.docfx index f60a543..69153cc 100644 --- a/.docfx/Dockerfile.docfx +++ b/.docfx/Dockerfile.docfx @@ -1,4 +1,4 @@ -ARG NGINX_VERSION=1.29.5-alpine +ARG NGINX_VERSION=1.30.0-alpine FROM --platform=$BUILDPLATFORM nginx:${NGINX_VERSION} AS base RUN rm -rf /usr/share/nginx/html/* diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index 3080fc8..b84555d 100644 --- a/.github/workflows/ci-pipeline.yml +++ b/.github/workflows/ci-pipeline.yml @@ -17,21 +17,43 @@ permissions: contents: read jobs: + init: + name: initialize + runs-on: ubuntu-24.04 + outputs: + run-privileged-jobs: ${{ steps.vars.outputs.run-privileged-jobs }} + strong-name-key-filename: ${{ steps.vars.outputs.strong-name-key-filename }} + build-switches: ${{ steps.vars.outputs.build-switches }} + steps: + - id: vars + name: calculate workflow variables + shell: bash + run: | + if [[ "${{ github.event_name }}" == "pull_request" && "${{ github.event.pull_request.head.repo.full_name }}" != "${{ github.repository }}" ]]; then + echo "run-privileged-jobs=false" >> "$GITHUB_OUTPUT" + echo "strong-name-key-filename=" >> "$GITHUB_OUTPUT" + echo "build-switches=-p:SkipSignAssembly=true" >> "$GITHUB_OUTPUT" + else + echo "run-privileged-jobs=true" >> "$GITHUB_OUTPUT" + echo "strong-name-key-filename=xunit.snk" >> "$GITHUB_OUTPUT" + echo "build-switches=" >> "$GITHUB_OUTPUT" + fi + build: name: call-build + needs: [init] strategy: matrix: - configuration: [Debug, Release] arch: [X64, ARM64] + configuration: [Debug, Release] uses: codebeltnet/jobs-dotnet-build/.github/workflows/default.yml@v3 with: configuration: ${{ matrix.configuration }} - strong-name-key-filename: xunit.snk + strong-name-key-filename: ${{ needs.init.outputs.strong-name-key-filename }} + build-switches: ${{ needs.init.outputs.build-switches }} runs-on: ${{ matrix.arch == 'ARM64' && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }} upload-build-artifact-name: build-${{ matrix.configuration }}-${{ matrix.arch }} - secrets: - GCP_TOKEN: ${{ secrets.GCP_TOKEN }} - GCP_BUCKETNAME: ${{ secrets.GCP_BUCKETNAME }} + secrets: inherit pack: name: call-pack @@ -80,8 +102,9 @@ jobs: download-pattern: build-${{ matrix.configuration }}-${{ matrix.arch }} sonarcloud: + if: ${{ needs.init.outputs.run-privileged-jobs == 'true' }} name: call-sonarcloud - needs: [build,test_linux,test_windows] + needs: [init, build, test_linux, test_windows] uses: codebeltnet/jobs-sonarcloud/.github/workflows/default.yml@v3 with: organization: geekle @@ -90,16 +113,18 @@ jobs: secrets: inherit codecov: + if: ${{ needs.init.outputs.run-privileged-jobs == 'true' }} name: call-codecov - needs: [build,test_linux,test_windows] + needs: [init, build, test_linux, test_windows] uses: codebeltnet/jobs-codecov/.github/workflows/default.yml@v1 with: repository: codebeltnet/xunit secrets: inherit codeql: + if: ${{ needs.init.outputs.run-privileged-jobs == 'true' }} name: call-codeql - needs: [build,test_linux,test_windows] + needs: [init, build, test_linux, test_windows] uses: codebeltnet/jobs-codeql/.github/workflows/default.yml@v3 permissions: security-events: write @@ -108,7 +133,7 @@ jobs: if: github.event_name != 'pull_request' name: call-nuget needs: [build, pack, test_linux, test_windows, sonarcloud, codecov, codeql] - uses: codebeltnet/jobs-nuget-push/.github/workflows/default.yml@v2 + uses: codebeltnet/jobs-nuget-push/.github/workflows/default.yml@v3 with: version: ${{ needs.build.outputs.version }} environment: Production @@ -116,5 +141,4 @@ jobs: permissions: contents: write packages: write - secrets: - NUGET_TOKEN: ${{ secrets.NUGET_TOKEN }} + secrets: inherit diff --git a/.github/workflows/service-update.yml b/.github/workflows/service-update.yml index e466604..f9a235e 100644 --- a/.github/workflows/service-update.yml +++ b/.github/workflows/service-update.yml @@ -70,7 +70,7 @@ jobs: for f in .nuget/*/PackageReleaseNotes.txt; do [ -f "$f" ] || continue TFM=$(grep -m1 "^Availability:" "$f" | sed 's/Availability: //' || echo ".NET 10, .NET 9 and .NET Standard 2.0") - ENTRY="Version: ${NEW}\nAvailability: ${TFM}\n \n# ALM\n- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)\n\n" + ENTRY="Version: ${NEW}\nAvailability: ${TFM}\n\n# ALM\n- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs)\n\n" { printf "$ENTRY"; cat "$f"; } > "$f.tmp" && mv "$f.tmp" "$f" done diff --git a/.nuget/Codebelt.Extensions.Xunit.App/PackageReleaseNotes.txt b/.nuget/Codebelt.Extensions.Xunit.App/PackageReleaseNotes.txt index 9379ead..e550068 100644 --- a/.nuget/Codebelt.Extensions.Xunit.App/PackageReleaseNotes.txt +++ b/.nuget/Codebelt.Extensions.Xunit.App/PackageReleaseNotes.txt @@ -1,3 +1,9 @@ +Version: 11.0.9 +Availability: .NET 10 and .NET 9 + +# ALM +- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version: 11.0.8 Availability: .NET 10 and .NET 9 diff --git a/.nuget/Codebelt.Extensions.Xunit.Hosting.AspNetCore/PackageReleaseNotes.txt b/.nuget/Codebelt.Extensions.Xunit.Hosting.AspNetCore/PackageReleaseNotes.txt index 4d57590..d8ca9ad 100644 --- a/.nuget/Codebelt.Extensions.Xunit.Hosting.AspNetCore/PackageReleaseNotes.txt +++ b/.nuget/Codebelt.Extensions.Xunit.Hosting.AspNetCore/PackageReleaseNotes.txt @@ -1,3 +1,9 @@ +Version: 11.0.9 +Availability: .NET 10 and .NET 9 + +# ALM +- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version: 11.0.8 Availability: .NET 10 and .NET 9 diff --git a/.nuget/Codebelt.Extensions.Xunit.Hosting/PackageReleaseNotes.txt b/.nuget/Codebelt.Extensions.Xunit.Hosting/PackageReleaseNotes.txt index 6c2bf3f..3819706 100644 --- a/.nuget/Codebelt.Extensions.Xunit.Hosting/PackageReleaseNotes.txt +++ b/.nuget/Codebelt.Extensions.Xunit.Hosting/PackageReleaseNotes.txt @@ -1,3 +1,9 @@ +Version: 11.0.9 +Availability: .NET 10, .NET 9 and .NET Standard 2.0 + +# ALM +- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version: 11.0.8 Availability: .NET 10, .NET 9 and .NET Standard 2.0 diff --git a/.nuget/Codebelt.Extensions.Xunit/PackageReleaseNotes.txt b/.nuget/Codebelt.Extensions.Xunit/PackageReleaseNotes.txt index 950d280..28be718 100644 --- a/.nuget/Codebelt.Extensions.Xunit/PackageReleaseNotes.txt +++ b/.nuget/Codebelt.Extensions.Xunit/PackageReleaseNotes.txt @@ -1,3 +1,9 @@ +Version: 11.0.9 +Availability: .NET 10 and .NET 9 + +# ALM +- CHANGED Dependencies have been upgraded to the latest compatible versions for all supported target frameworks (TFMs) + Version: 11.0.8 Availability: .NET 10 and .NET 9 diff --git a/CHANGELOG.md b/CHANGELOG.md index 31930a5..0705687 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ For more details, please refer to `PackageReleaseNotes.txt` on a per assembly ba > [!NOTE] > Changelog entries prior to version 8.4.0 was migrated from previous versions of Cuemon.Extensions.Xunit, Cuemon.Extensions.Xunit.Hosting, and Cuemon.Extensions.Xunit.Hosting.AspNetCore. +## [11.0.9] - 2026-04-16 + +This is a service update that focuses on package dependencies. + ## [11.0.8] - 2026-03-13 This is a service update that focuses on package dependencies. diff --git a/Directory.Packages.props b/Directory.Packages.props index 51fda50..148d8e3 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -6,16 +6,16 @@ - - - - - + + + + + - - + + @@ -23,23 +23,23 @@ - + - - - - - - + + + + + + - - - - - - + + + + + + \ No newline at end of file diff --git a/testenvironments.json b/testenvironments.json index a12cd13..e0b5a26 100644 --- a/testenvironments.json +++ b/testenvironments.json @@ -7,9 +7,14 @@ "wslDistribution": "Ubuntu-24.04" }, { - "name": "Docker-Ubuntu", + "name": "Docker-Ubuntu (net9)", "type": "docker", - "dockerImage": "codebeltnet/ubuntu-testrunner:net8.0.418-9.0.311-10.0.103" + "dockerImage": "codebeltnet/ubuntu-testrunner:9" + }, + { + "name": "Docker-Ubuntu (net10)", + "type": "docker", + "dockerImage": "codebeltnet/ubuntu-testrunner:10" } ] }