Skip to content

Commit 01163ba

Browse files
build: update .NET SDK versions to 8.x and 10.x (#3116)
Release-As: 6.0.1 * build: update .NET SDK versions to 8.x and 10.x * chore(deps): Bump Microsoft.SourceLink.GitHub from 10.0.203 to 10.0.300 * docs(agent): add instructions to always use conventional commits
1 parent 38bad7c commit 01163ba

4 files changed

Lines changed: 36 additions & 8 deletions

File tree

.azure-pipelines/ci-build.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,12 @@ extends:
5656
displayName: 'Enable long paths in git'
5757
- checkout: self
5858
- task: UseDotNet@2
59-
displayName: 'Use .NET 8.x sdk'
59+
displayName: 'Use .NET 8 and 10 sdk'
6060
inputs:
6161
packageType: sdk
62-
version: 8.x
63-
- task: UseDotNet@2
64-
displayName: 'Use .NET 6.x (for code signing tasks)'
65-
inputs:
66-
packageType: sdk
67-
version: 6.x
62+
version: |
63+
8.x
64+
10.x
6865
- task: DotNetCoreCLI@2
6966
displayName: 'dotnet restore'
7067
inputs:

.github/copilot-instructions.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,29 @@
11
This repository is used to capture generated code files. The code files are generated using microsoft/kiota. The primary purpose of the copilot reviewer is to identify any changes that can cause a regressions for an application that uses this library. You are required to create a comment anytime a code change occurs that changes an APIs signature in a way that is not additive.
2+
3+
- Use only tools, commands, and workflows that are available in this repository's context.
4+
- Do not instruct contributors or users to enable external tools that are not defined or documented in this repository.
5+
- When reviewing changes, prioritize identifying regressions and non-additive API signature changes in generated code.
6+
7+
## Commit Messages
8+
9+
Always use conventional commit format:
10+
- Format: `<type>(<scope>): <description>`
11+
- Types: feat, fix, build, chore, ci, docs, style, refactor, perf, test
12+
- Keep subject line under 72 characters
13+
- Use imperative mood ("add" not "added")
14+
15+
Use conventional commits with these types:
16+
- `feat:` - New features or capabilities
17+
- `fix:` - Bug fixes
18+
- `build:` - Build system or dependency changes
19+
- `ci:` - CI/CD pipeline changes
20+
- `docs:` - Documentation only changes
21+
- `refactor:` - Code changes that neither fix bugs nor add features
22+
- `test:` - Adding or updating tests
23+
- `chore:` - Maintenance tasks
24+
25+
Examples:
26+
- `feat(users): add user profile endpoint`
27+
- `fix(auth): resolve token refresh bug`
28+
- `build: update .NET SDK to version 10.x`
29+
- `docs: clarify authentication requirements`

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"azure-pipelines.1ESPipelineTemplatesSchemaFile": true
3+
}

src/Microsoft.Graph/Microsoft.Graph.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ https://github.com/microsoftgraph/msgraph-sdk-dotnet/blob/main/CHANGELOG.md
5252
</ItemGroup>
5353
<ItemGroup>
5454
<PackageReference Include="Microsoft.Graph.Core" Version="4.*" />
55-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="10.0.203" PrivateAssets="All" />
55+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="10.0.300" PrivateAssets="All" />
5656
</ItemGroup>
5757
<ItemGroup>
5858
<None Include="..\..\LICENSE.txt">

0 commit comments

Comments
 (0)