Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to net8.0-rc1 #2044

Merged
merged 26 commits into from
Nov 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
f16b8be
update one project to net8.0
adamsitnik Sep 19, 2023
f073f93
update all System.* and Microsoft.Extensions* dependencies to 8.0
adamsitnik Sep 20, 2023
c1b655f
ConfigureHttpMessageHandlerBuilder has been obsoleted, use ConfigureA…
adamsitnik Sep 20, 2023
3450c5d
use full target framework moniker names
adamsitnik Sep 20, 2023
2a67e12
Merge remote-tracking branch 'upstream/master' into net80update
adamsitnik Sep 20, 2023
d237012
add net8.0 to all test projects, move the setting to one file so it's…
adamsitnik Sep 20, 2023
11bb020
add net8.0 to all projects that required it to fix the build, replace…
adamsitnik Sep 20, 2023
3f871d1
update all healthchecks_*_cd.yml files: use reusable worklflow that t…
adamsitnik Sep 20, 2023
b3a206e
update all healthchecks_*_cd_preview.yml files: use reusable worklflo…
adamsitnik Sep 20, 2023
74d7da7
update all healthchecks_*_ci.yml files: use reusable worklflow that t…
adamsitnik Sep 20, 2023
9e79cc4
update all healthchecks_*_ci.yml files that use "services" (I am not …
adamsitnik Sep 20, 2023
0bbc854
update all healthchecks_*_ci.yml files that use "env" (I am not sure …
adamsitnik Sep 20, 2023
f5f5f70
manually update two complex ci files that would not benefit from reus…
adamsitnik Sep 20, 2023
2343889
remove whitespace from the end of the file name and update it too
adamsitnik Sep 20, 2023
7cd1adf
update all versions to 8.0
adamsitnik Sep 20, 2023
c32c2a0
Revert "update all healthchecks_*_ci.yml files that use "services" (I…
adamsitnik Sep 20, 2023
1b61baf
add net8.0 to .yml files that use services tag
adamsitnik Sep 20, 2023
b25d1c1
Revert "update all healthchecks_*_ci.yml files that use "env" (I am n…
adamsitnik Sep 20, 2023
6519654
add net8.0 to .yml files that use env tag
adamsitnik Sep 20, 2023
7315fb1
minor fixes after reading the code again
adamsitnik Sep 20, 2023
b5ad224
generate strong name key and sign the assemblies
adamsitnik Sep 20, 2023
d87820f
build fixes
adamsitnik Sep 20, 2023
5f5f44f
Merge remote-tracking branch 'upstream/master' into net80update
adamsitnik Sep 21, 2023
ee18893
disable warning produced by Microsoft.Azure.DocumentDB.Core
adamsitnik Sep 21, 2023
0ad9a3a
Merge remote-tracking branch 'upstream/master' into net80update
adamsitnik Oct 16, 2023
448f56f
Merge remote-tracking branch 'upstream/master' into net80update
adamsitnik Oct 16, 2023
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
23 changes: 5 additions & 18 deletions .github/workflows/healthchecks_applicationstatus_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,9 @@ on:

jobs:
build:
env:
uses: ./.github/workflows/reusable_cd_workflow.yml
secrets: inherit
with:
BUILD_CONFIG: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
- name: Restore
run: dotnet restore ./src/HealthChecks.ApplicationStatus/HealthChecks.ApplicationStatus.csproj
- name: Build
run: dotnet build --no-restore ./src/HealthChecks.ApplicationStatus/HealthChecks.ApplicationStatus.csproj -c $BUILD_CONFIG
- name: Pack
run: dotnet pack --no-build ./src/HealthChecks.ApplicationStatus/HealthChecks.ApplicationStatus.csproj -c $BUILD_CONFIG -o ./artifacts
- name: Publish
run: dotnet nuget push ./artifacts/AspNetCore.HealthChecks.ApplicationStatus.*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate
PROJECT_PATH: ./src/HealthChecks.ApplicationStatus/HealthChecks.ApplicationStatus.csproj
PACKAGE_NAME: AspNetCore.HealthChecks.ApplicationStatus
25 changes: 6 additions & 19 deletions .github/workflows/healthchecks_applicationstatus_cd_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,10 @@ on:

jobs:
build:
env:
uses: ./.github/workflows/reusable_cd_preview_workflow.yml
secrets: inherit
with:
BUILD_CONFIG: Release
VERSION_SUFFIX: rc2.${{ github.run_number }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
- name: Restore
run: dotnet restore ./src/HealthChecks.ApplicationStatus/HealthChecks.ApplicationStatus.csproj
- name: Build
run: dotnet build --no-restore ./src/HealthChecks.ApplicationStatus/HealthChecks.ApplicationStatus.csproj -c $BUILD_CONFIG
- name: Pack
run: dotnet pack --no-build ./src/HealthChecks.ApplicationStatus/HealthChecks.ApplicationStatus.csproj --version-suffix $VERSION_SUFFIX -c $BUILD_CONFIG -o ./artifacts
- name: Publish
run: dotnet nuget push ./artifacts/AspNetCore.HealthChecks.ApplicationStatus.*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate
VERSION_SUFFIX_PREFIX: rc1
PROJECT_PATH: ./src/HealthChecks.ApplicationStatus/HealthChecks.ApplicationStatus.csproj
PACKAGE_NAME: AspNetCore.HealthChecks.ApplicationStatus
43 changes: 7 additions & 36 deletions .github/workflows/healthchecks_applicationstatus_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- test/HealthChecks.ApplicationStatus.Tests/**
- test/_SHARED/**
- .github/workflows/healthchecks_applicationstatus_ci.yml
- .github/workflows/reusable_ci_workflow.yml
- Directory.Build.props
- Directory.Build.targets
tags-ignore:
Expand All @@ -22,44 +23,14 @@ on:
- test/HealthChecks.ApplicationStatus.Tests/**
- test/_SHARED/**
- .github/workflows/healthchecks_applicationstatus_ci.yml
- .github/workflows/reusable_ci_workflow.yml
- Directory.Build.props
- Directory.Build.targets

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
- name: Restore
run: |
dotnet restore ./src/HealthChecks.ApplicationStatus/HealthChecks.ApplicationStatus.csproj &&
dotnet restore ./test/HealthChecks.ApplicationStatus.Tests/HealthChecks.ApplicationStatus.Tests.csproj
- name: Check formatting
run: |
dotnet format --no-restore --verify-no-changes --severity warn ./src/HealthChecks.ApplicationStatus/HealthChecks.ApplicationStatus.csproj || (echo "Run 'dotnet format' to fix issues" && exit 1) &&
dotnet format --no-restore --verify-no-changes --severity warn ./test/HealthChecks.ApplicationStatus.Tests/HealthChecks.ApplicationStatus.Tests.csproj || (echo "Run 'dotnet format' to fix issues" && exit 1)
- name: Build
run: |
dotnet build --no-restore ./src/HealthChecks.ApplicationStatus/HealthChecks.ApplicationStatus.csproj &&
dotnet build --no-restore ./test/HealthChecks.ApplicationStatus.Tests/HealthChecks.ApplicationStatus.Tests.csproj
- name: Test
run: >
dotnet test
./test/HealthChecks.ApplicationStatus.Tests/HealthChecks.ApplicationStatus.Tests.csproj
--no-restore
--no-build
--collect "XPlat Code Coverage"
--results-directory .coverage
--
DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover
- name: Upload Coverage
uses: codecov/codecov-action@v3
with:
flags: ApplicationStatus
directory: .coverage
uses: ./.github/workflows/reusable_ci_workflow.yml
with:
PROJECT_PATH: ./src/HealthChecks.ApplicationStatus/HealthChecks.ApplicationStatus.csproj
TEST_PROJECT_PATH: ./test/HealthChecks.ApplicationStatus.Tests/HealthChecks.ApplicationStatus.Tests.csproj
CODECOV_FLAGS: ApplicationStatus
23 changes: 5 additions & 18 deletions .github/workflows/healthchecks_arangodb_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,9 @@ on:

jobs:
build:
env:
uses: ./.github/workflows/reusable_cd_workflow.yml
secrets: inherit
with:
BUILD_CONFIG: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
- name: Restore
run: dotnet restore ./src/HealthChecks.ArangoDb/HealthChecks.ArangoDb.csproj
- name: Build
run: dotnet build --no-restore ./src/HealthChecks.ArangoDb/HealthChecks.ArangoDb.csproj -c $BUILD_CONFIG
- name: Pack
run: dotnet pack --no-build ./src/HealthChecks.ArangoDb/HealthChecks.ArangoDb.csproj -c $BUILD_CONFIG -o ./artifacts
- name: Publish
run: dotnet nuget push ./artifacts/AspNetCore.HealthChecks.ArangoDb.*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate
PROJECT_PATH: ./src/HealthChecks.ArangoDb/HealthChecks.ArangoDb.csproj
PACKAGE_NAME: AspNetCore.HealthChecks.ArangoDb
25 changes: 6 additions & 19 deletions .github/workflows/healthchecks_arangodb_cd_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,10 @@ on:

jobs:
build:
env:
uses: ./.github/workflows/reusable_cd_preview_workflow.yml
secrets: inherit
with:
BUILD_CONFIG: Release
VERSION_SUFFIX: rc2.${{ github.run_number }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
- name: Restore
run: dotnet restore ./src/HealthChecks.ArangoDb/HealthChecks.ArangoDb.csproj
- name: Build
run: dotnet build --no-restore ./src/HealthChecks.ArangoDb/HealthChecks.ArangoDb.csproj -c $BUILD_CONFIG
- name: Pack
run: dotnet pack --no-build ./src/HealthChecks.ArangoDb/HealthChecks.ArangoDb.csproj --version-suffix $VERSION_SUFFIX -c $BUILD_CONFIG -o ./artifacts
- name: Publish
run: dotnet nuget push ./artifacts/AspNetCore.HealthChecks.ArangoDb.*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate
VERSION_SUFFIX_PREFIX: rc1
PROJECT_PATH: ./src/HealthChecks.ArangoDb/HealthChecks.ArangoDb.csproj
PACKAGE_NAME: AspNetCore.HealthChecks.ArangoDb
1 change: 1 addition & 0 deletions .github/workflows/healthchecks_arangodb_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
dotnet-version: |
6.0.x
7.0.x
8.0.x
- name: Restore
run: |
dotnet restore ./src/HealthChecks.ArangoDb/HealthChecks.ArangoDb.csproj &&
Expand Down
23 changes: 5 additions & 18 deletions .github/workflows/healthchecks_aws_s3_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,9 @@ on:

jobs:
build:
env:
uses: ./.github/workflows/reusable_cd_workflow.yml
secrets: inherit
with:
BUILD_CONFIG: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
- name: Restore
run: dotnet restore ./src/HealthChecks.Aws.S3/HealthChecks.Aws.S3.csproj
- name: Build
run: dotnet build --no-restore ./src/HealthChecks.Aws.S3/HealthChecks.Aws.S3.csproj -c $BUILD_CONFIG
- name: Pack
run: dotnet pack --no-build ./src/HealthChecks.Aws.S3/HealthChecks.Aws.S3.csproj -c $BUILD_CONFIG -o ./artifacts
- name: Publish
run: dotnet nuget push ./artifacts/AspNetCore.HealthChecks.Aws.S3.*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate
PROJECT_PATH: ./src/HealthChecks.Aws.S3/HealthChecks.Aws.S3.csproj
PACKAGE_NAME: AspNetCore.HealthChecks.Aws.S3
25 changes: 6 additions & 19 deletions .github/workflows/healthchecks_aws_s3_cd_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,10 @@ on:

jobs:
build:
env:
uses: ./.github/workflows/reusable_cd_preview_workflow.yml
secrets: inherit
with:
BUILD_CONFIG: Release
VERSION_SUFFIX: rc2.${{ github.run_number }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
- name: Restore
run: dotnet restore ./src/HealthChecks.Aws.S3/HealthChecks.Aws.S3.csproj
- name: Build
run: dotnet build --no-restore ./src/HealthChecks.Aws.S3/HealthChecks.Aws.S3.csproj -c $BUILD_CONFIG
- name: Pack
run: dotnet pack --no-build ./src/HealthChecks.Aws.S3/HealthChecks.Aws.S3.csproj --version-suffix $VERSION_SUFFIX -c $BUILD_CONFIG -o ./artifacts
- name: Publish
run: dotnet nuget push ./artifacts/AspNetCore.HealthChecks.Aws.S3.*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate
VERSION_SUFFIX_PREFIX: rc1
PROJECT_PATH: ./src/HealthChecks.Aws.S3/HealthChecks.Aws.S3.csproj
PACKAGE_NAME: AspNetCore.HealthChecks.Aws.S3
43 changes: 7 additions & 36 deletions .github/workflows/healthchecks_aws_s3_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- test/HealthChecks.Aws.S3.Tests/**
- test/_SHARED/**
- .github/workflows/healthchecks_aws_s3_ci.yml
- .github/workflows/reusable_ci_workflow.yml
- Directory.Build.props
- Directory.Build.targets
tags-ignore:
Expand All @@ -22,44 +23,14 @@ on:
- test/HealthChecks.Aws.S3.Tests/**
- test/_SHARED/**
- .github/workflows/healthchecks_aws_s3_ci.yml
- .github/workflows/reusable_ci_workflow.yml
- Directory.Build.props
- Directory.Build.targets

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
- name: Restore
run: |
dotnet restore ./src/HealthChecks.Aws.S3/HealthChecks.Aws.S3.csproj &&
dotnet restore ./test/HealthChecks.Aws.S3.Tests/HealthChecks.Aws.S3.Tests.csproj
- name: Check formatting
run: |
dotnet format --no-restore --verify-no-changes --severity warn ./src/HealthChecks.Aws.S3/HealthChecks.Aws.S3.csproj || (echo "Run 'dotnet format' to fix issues" && exit 1) &&
dotnet format --no-restore --verify-no-changes --severity warn ./test/HealthChecks.Aws.S3.Tests/HealthChecks.Aws.S3.Tests.csproj || (echo "Run 'dotnet format' to fix issues" && exit 1)
- name: Build
run: |
dotnet build --no-restore ./src/HealthChecks.Aws.S3/HealthChecks.Aws.S3.csproj &&
dotnet build --no-restore ./test/HealthChecks.Aws.S3.Tests/HealthChecks.Aws.S3.Tests.csproj
- name: Test
run: >
dotnet test
./test/HealthChecks.Aws.S3.Tests/HealthChecks.Aws.S3.Tests.csproj
--no-restore
--no-build
--collect "XPlat Code Coverage"
--results-directory .coverage
--
DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover
- name: Upload Coverage
uses: codecov/codecov-action@v3
with:
flags: Aws.S3
directory: .coverage
uses: ./.github/workflows/reusable_ci_workflow.yml
with:
PROJECT_PATH: ./src/HealthChecks.Aws.S3/HealthChecks.Aws.S3.csproj
TEST_PROJECT_PATH: ./test/HealthChecks.Aws.S3.Tests/HealthChecks.Aws.S3.Tests.csproj
CODECOV_FLAGS: Aws.S3
23 changes: 5 additions & 18 deletions .github/workflows/healthchecks_aws_secretsmanager_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,9 @@ on:

jobs:
build:
env:
uses: ./.github/workflows/reusable_cd_workflow.yml
secrets: inherit
with:
BUILD_CONFIG: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
- name: Restore
run: dotnet restore ./src/HealthChecks.Aws.SecretsManager/HealthChecks.Aws.SecretsManager.csproj
- name: Build
run: dotnet build --no-restore ./src/HealthChecks.Aws.SecretsManager/HealthChecks.Aws.SecretsManager.csproj -c $BUILD_CONFIG
- name: Pack
run: dotnet pack --no-build ./src/HealthChecks.Aws.SecretsManager/HealthChecks.Aws.SecretsManager.csproj -c $BUILD_CONFIG -o ./artifacts
- name: Publish
run: dotnet nuget push ./artifacts/AspNetCore.HealthChecks.Aws.SecretsManager.*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate
PROJECT_PATH: ./src/HealthChecks.Aws.SecretsManager/HealthChecks.Aws.SecretsManager.csproj
PACKAGE_NAME: AspNetCore.HealthChecks.Aws.SecretsManager
25 changes: 6 additions & 19 deletions .github/workflows/healthchecks_aws_secretsmanager_cd_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,10 @@ on:

jobs:
build:
env:
uses: ./.github/workflows/reusable_cd_preview_workflow.yml
secrets: inherit
with:
BUILD_CONFIG: Release
VERSION_SUFFIX: rc2.${{ github.run_number }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
- name: Restore
run: dotnet restore ./src/HealthChecks.Aws.SecretsManager/HealthChecks.Aws.SecretsManager.csproj
- name: Build
run: dotnet build --no-restore ./src/HealthChecks.Aws.SecretsManager/HealthChecks.Aws.SecretsManager.csproj -c $BUILD_CONFIG
- name: Pack
run: dotnet pack --no-build ./src/HealthChecks.Aws.SecretsManager/HealthChecks.Aws.SecretsManager.csproj --version-suffix $VERSION_SUFFIX -c $BUILD_CONFIG -o ./artifacts
- name: Publish
run: dotnet nuget push ./artifacts/AspNetCore.HealthChecks.Aws.SecretsManager.*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate
VERSION_SUFFIX_PREFIX: rc1
PROJECT_PATH: ./src/HealthChecks.Aws.SecretsManager/HealthChecks.Aws.SecretsManager.csproj
PACKAGE_NAME: AspNetCore.HealthChecks.Aws.SecretsManager
Loading
Loading