Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 4c1b2fa

Browse files
authored
Merge pull request #530 from microsoftgraph/dependabot/nuget/multi-afd572c9bf
chore(deps): bump Microsoft.Extensions.Configuration and Microsoft.Extensions.Configuration.Json
2 parents 56faf43 + 5b14d6d commit 4c1b2fa

File tree

3 files changed

+27
-31
lines changed

3 files changed

+27
-31
lines changed

.github/workflows/sonarcloud.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ on:
44
push:
55
branches:
66
- main
7-
paths-ignore: ['**.md', '.vscode/**', '**.svg']
7+
paths-ignore: ["**.md", ".vscode/**", "**.svg"]
88
pull_request:
99
types: [opened, synchronize, reopened]
10-
paths-ignore: ['**.md', '.vscode/**', '**.svg']
10+
paths-ignore: ["**.md", ".vscode/**", "**.svg"]
1111

1212
env:
1313
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
@@ -22,7 +22,7 @@ jobs:
2222
- name: Check whether unity activation requests should be done
2323
id: checksecret_job
2424
run: |
25-
echo "is_SONAR_TOKEN_set=${{ env.SONAR_TOKEN != '' }}" >> $GITHUB_OUTPUT
25+
echo "is_SONAR_TOKEN_set=${{ env.SONAR_TOKEN != '' }}" >> $GITHUB_OUTPUT
2626
build:
2727
needs: [checksecret]
2828
if: needs.checksecret.outputs.is_SONAR_TOKEN_set == 'true'
@@ -32,19 +32,15 @@ jobs:
3232
- name: Set up JDK 17
3333
uses: actions/setup-java@v4
3434
with:
35-
distribution: 'adopt'
35+
distribution: "adopt"
3636
java-version: 17
37-
- name: Setup .NET 5 # At the moment the scanner requires dotnet 5 https://www.nuget.org/packages/dotnet-sonarscanner
38-
uses: actions/setup-dotnet@v4
39-
with:
40-
dotnet-version: 5.0.x
4137
- name: Setup .NET
4238
uses: actions/setup-dotnet@v4
4339
with:
44-
dotnet-version: 7.0.x
40+
dotnet-version: 9.x
4541
- uses: actions/checkout@v4
4642
with:
47-
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
43+
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
4844
- name: Cache SonarCloud packages
4945
uses: actions/cache@v4
5046
with:
@@ -55,9 +51,9 @@ jobs:
5551
run: dotnet tool install dotnet-sonarscanner --create-manifest-if-needed
5652
- name: Build and analyze
5753
env:
58-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
54+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
5955
CollectCoverage: true
60-
CoverletOutputFormat: 'opencover' # https://github.com/microsoft/vstest/issues/4014#issuecomment-1307913682
56+
CoverletOutputFormat: "opencover" # https://github.com/microsoft/vstest/issues/4014#issuecomment-1307913682
6157
shell: pwsh
6258
run: |
6359
dotnet tool run dotnet-sonarscanner begin /k:"microsoftgraph_msgraph-cli-core" /o:"microsoftgraph2" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.opencover.reportsPaths="**/*.Tests/**/coverage.opencover.xml" /d:sonar.coverage.exclusions="src/sample/**"

src/Microsoft.Graph.Cli.Core/Microsoft.Graph.Cli.Core.csproj

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -47,26 +47,26 @@
4747
<DefineConstants>OS_WINDOWS</DefineConstants>
4848
</PropertyGroup>
4949
<ItemGroup>
50-
<PackageReference Include="Azure.Identity" Version="1.13.1"/>
51-
<PackageReference Include="Azure.Identity.Broker" Version="1.2.0" Condition="'$(OS)' == 'Windows_NT'"/>
52-
<PackageReference Include="JmesPath.Net" Version="1.0.330"/>
53-
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.1"/>
54-
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.0"/>
55-
<PackageReference Include="Microsoft.Graph.Core" Version="3.2.2"/>
56-
<PackageReference Include="Microsoft.Kiota.Authentication.Azure" Version="1.16.3"/>
57-
<PackageReference Include="Microsoft.Kiota.Cli.Commons" Version="1.1.2"/>
58-
<PackageReference Include="Microsoft.Kiota.Http.HttpClientLibrary" Version="1.16.3"/>
59-
<PackageReference Include="Microsoft.Kiota.Serialization.Json" Version="1.16.3"/>
60-
<PackageReference Include="Spectre.Console" Version="0.49.1"/>
61-
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1"/>
62-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All"/>
50+
<PackageReference Include="Azure.Identity" Version="1.13.1" />
51+
<PackageReference Include="Azure.Identity.Broker" Version="1.2.0" Condition="'$(OS)' == 'Windows_NT'" />
52+
<PackageReference Include="JmesPath.Net" Version="1.0.330" />
53+
<PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.1" />
54+
<PackageReference Include="Microsoft.Extensions.Http" Version="9.0.1" />
55+
<PackageReference Include="Microsoft.Graph.Core" Version="3.2.2" />
56+
<PackageReference Include="Microsoft.Kiota.Authentication.Azure" Version="1.16.3" />
57+
<PackageReference Include="Microsoft.Kiota.Cli.Commons" Version="1.1.2" />
58+
<PackageReference Include="Microsoft.Kiota.Http.HttpClientLibrary" Version="1.16.3" />
59+
<PackageReference Include="Microsoft.Kiota.Serialization.Json" Version="1.16.3" />
60+
<PackageReference Include="Spectre.Console" Version="0.49.1" />
61+
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
62+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
6363
</ItemGroup>
6464

6565
<ItemGroup>
66-
<None Include="../../LICENSE" Pack="true" PackagePath=""/>
67-
<None Include="../../README.md" Pack="true" PackagePath=""/>
66+
<None Include="../../LICENSE" Pack="true" PackagePath="" />
67+
<None Include="../../README.md" Pack="true" PackagePath="" />
6868
</ItemGroup>
6969
<ItemGroup>
70-
<InternalsVisibleTo Include="Microsoft.Graph.Cli.Core.Tests"/>
70+
<InternalsVisibleTo Include="Microsoft.Graph.Cli.Core.Tests" />
7171
</ItemGroup>
7272
</Project>

src/sample/sample.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Microsoft.Extensions.Configuration" Version="9.0.0" />
13-
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.1" />
14-
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.1" />
12+
<PackageReference Include="Microsoft.Extensions.Configuration" Version="9.0.1" />
13+
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="9.0.1" />
14+
<PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.1" />
1515
<PackageReference Include="Microsoft.Kiota.Authentication.Azure" Version="1.16.3" />
1616
<PackageReference Include="Microsoft.Kiota.Serialization.Json" Version="1.16.3" />
1717
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />

0 commit comments

Comments
 (0)