Skip to content

Commit

Permalink
Merge pull request #136 from WeihanLi/patch-1
Browse files Browse the repository at this point in the history
upgrade hosting dependency to fix dependency vulnerability
  • Loading branch information
pengweiqhca authored Dec 20, 2024
2 parents 4948e55 + cbb49d1 commit 3ba3874
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 14 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ jobs:
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.x
8.x
dotnet-version: 9.x
- name: build
run: dotnet build -c Release -v n /p:TreatWarningsAsErrors=True
- name: test
Expand All @@ -34,12 +32,10 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET 8 SDK
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.x
8.x
dotnet-version: 9.x
- name: build
run: dotnet build -c Release -v n /p:TreatWarningsAsErrors=True
- name: test
Expand Down
12 changes: 6 additions & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
vmImage: 'ubuntu-latest'
steps:
- task: UseDotNet@2
displayName: 'Use .NET sdk 8.0'
displayName: 'Use .NET Sdk 9.0'
inputs:
version: 8.x
version: 9.x
- script: dotnet build -c $(buildConfiguration) -v n
displayName: 'dotnet build'
- displayName: 'dotnet test'
Expand All @@ -31,9 +31,9 @@ jobs:
vmImage: 'macOS-latest'
steps:
- task: UseDotNet@2
displayName: 'Use .NET sdk 8.0'
displayName: 'Use .NET Sdk 9.0'
inputs:
version: 8.x
version: 9.x
- script: dotnet build -c $(buildConfiguration) -v n
displayName: 'dotnet build'
- displayName: 'dotnet test'
Expand All @@ -46,9 +46,9 @@ jobs:
vmImage: 'windows-latest'
steps:
- task: UseDotNet@2
displayName: 'Use .NET sdk 8.0'
displayName: 'Use .NET Sdk 9.0'
inputs:
version: 8.x
version: 9.x
- script: dotnet build -c $(buildConfiguration) -v n
displayName: 'dotnet build'
- displayName: 'dotnet test'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Release notes:
<InternalsVisibleTo Include="Xunit.DependencyInjection.StaFact" />
<InternalsVisibleTo Include="Xunit.DependencyInjection.Test" />

<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.1" />
<PackageReference Include="xunit.extensibility.execution" Version="[2.4.2, 3.0.0)" />

<ProjectReference Include="..\Xunit.DependencyInjection.Analyzer\Xunit.DependencyInjection.Analyzer.csproj" PrivateAssets="All" ReferenceOutputAssembly="false" />
Expand Down

0 comments on commit 3ba3874

Please sign in to comment.