Skip to content

Commit cad7b1f

Browse files
authored
Merge branch 'main' into chore-add-drivedclasses-for-interface
2 parents 7184add + d6abf6b commit cad7b1f

File tree

169 files changed

+7069
-5242
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

169 files changed

+7069
-5242
lines changed

.github/actions/build/action.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,24 @@ description: build the project
33
runs:
44
using: "composite"
55
steps:
6-
- uses: actions/setup-node@v4
6+
- uses: actions/setup-node@v6
77
with:
8-
node-version: 22
8+
node-version: 24
99

10-
- uses: actions/setup-dotnet@v4
10+
- uses: actions/setup-dotnet@v5
1111
with:
1212
dotnet-version: |
13+
10.x
1314
9.x
1415
8.x
1516
17+
- name: Install fonts-noto-color-emoji package (Linux only)
18+
if: runner.os == 'Linux'
19+
shell: bash
20+
run: |
21+
sudo apt-get update
22+
sudo apt-get install -y fonts-noto-color-emoji
23+
1624
- run: npm ci
1725
shell: bash
1826
working-directory: templates

.github/dependabot.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,22 @@ updates:
2020
- "xunit.*"
2121
- "xunit.v3"
2222
- "xunit.v3.*"
23-
- "Verify.Xunit"
24-
- "Verify.XunitV3"
23+
24+
- package-ecosystem: "nuget"
25+
target-branch: main
26+
directory: "/"
27+
schedule:
28+
interval: "monthly"
29+
allow:
30+
- dependency-name: "Verify.*"
2531

2632
- package-ecosystem: npm
2733
target-branch: main
2834
directory: "/templates"
2935
schedule:
3036
interval: daily
37+
cooldown:
38+
default-days: 14
3139
groups:
3240
typescript-eslint:
3341
patterns:

.github/workflows/ci.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
matrix:
1616
os: [windows-latest, macos-latest, ubuntu-latest]
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v5
1919
with:
2020
ref: ${{github.event.pull_request.head.ref}}
2121
repository: ${{ github.event.pull_request.head.repo.full_name }}
@@ -31,17 +31,21 @@ jobs:
3131
shell: bash
3232
working-directory: templates
3333

34-
- run: dotnet test -c Release -f net8.0 --no-build --collect:"XPlat Code Coverage" --consoleLoggerParameters:"Summary;Verbosity=Minimal"
35-
id: test-net80
34+
- run: dotnet test -c Release -f net10.0 --no-build --collect:"XPlat Code Coverage" --consoleLoggerParameters:"Summary;Verbosity=Minimal"
35+
id: test-net100
3636

3737
- run: dotnet test -c Release -f net9.0 --no-build --collect:"XPlat Code Coverage" --consoleLoggerParameters:"Summary;Verbosity=Minimal"
3838
if: matrix.os == 'ubuntu-latest'
3939
id: test-net90
4040

41+
- run: dotnet test -c Release -f net8.0 --no-build --collect:"XPlat Code Coverage" --consoleLoggerParameters:"Summary;Verbosity=Minimal"
42+
if: matrix.os == 'ubuntu-latest'
43+
id: test-net80
44+
4145
- run: npm i -g @percy/cli
4246
if: matrix.os == 'ubuntu-latest'
4347

44-
- run: percy exec -- dotnet test -c Release -f net8.0 --filter Stage=Percy --no-build --collect:"XPlat Code Coverage"
48+
- run: percy exec -- dotnet test -c Release -f net10.0 --filter Stage=Percy --no-build --collect:"XPlat Code Coverage"
4549
if: matrix.os == 'ubuntu-latest'
4650
env:
4751
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
@@ -55,16 +59,16 @@ jobs:
5559
- run: echo "DOTNET_DbgEnableMiniDump=1" >> $GITHUB_ENV
5660
if: matrix.os == 'ubuntu-latest'
5761

58-
- run: dotnet run -c Release --no-build -f net8.0 --project src/docfx -- docs/docfx.json
59-
- run: dotnet run -c Release --no-build -f net8.0 --project src/docfx -- samples/seed/docfx.json --output docs/_site/seed
62+
- run: dotnet run -c Release --no-build -f net10.0 --project src/docfx -- docs/docfx.json
63+
- run: dotnet run -c Release --no-build -f net10.0 --project src/docfx -- samples/seed/docfx.json --output docs/_site/seed
6064

61-
- uses: actions/upload-pages-artifact@v3
65+
- uses: actions/upload-pages-artifact@v4
6266
if: matrix.os == 'ubuntu-latest'
6367
with:
6468
path: docs/_site
6569

6670
- name: Upload Logs
67-
uses: actions/upload-artifact@v4
71+
uses: actions/upload-artifact@v6
6872
if: ${{ !cancelled() }}
6973
with:
7074
name: logs-${{ matrix.os }}
@@ -73,7 +77,7 @@ jobs:
7377
test/**/TestResults/*.trx
7478
test/**/TestResults/*.html
7579
76-
- uses: actions/upload-artifact@v4
80+
- uses: actions/upload-artifact@v6
7781
if: ${{ failure() && matrix.os == 'ubuntu-latest' }}
7882
with:
7983
name: dump

.github/workflows/lint.yml

Lines changed: 42 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,42 @@
1-
name: lint
2-
3-
on:
4-
pull_request:
5-
types:
6-
- opened
7-
- reopened
8-
- synchronize
9-
- ready_for_review
10-
workflow_dispatch:
11-
12-
jobs:
13-
build:
14-
name: Lint
15-
runs-on: ubuntu-latest
16-
timeout-minutes: 30
17-
if: github.event.pull_request.draft == false
18-
steps:
19-
- name: Checkout
20-
uses: actions/checkout@v4
21-
22-
- name: Setup .NET SDK
23-
uses: actions/setup-dotnet@v4
24-
with:
25-
dotnet-version: |
26-
9.x
27-
28-
- name: Run `dotnet format` command
29-
run: |
30-
dotnet restore
31-
dotnet format --no-restore --verify-no-changes
32-
33-
- name: Report failures as Job Summary
34-
if: ${{ failure() }}
35-
shell: pwsh
36-
run: |
37-
$content = '
38-
## Failed to run the `lint.yml` workflow
39-
To fix workflow errors. Please follow the steps below.
40-
1. Run `dotnet format` command.
41-
2. Commit changes as separated commit.
42-
3. Push changes to source branch of PR.
43-
'
44-
Write-Output $content >> $env:GITHUB_STEP_SUMMARY
1+
name: lint
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- reopened
8+
- synchronize
9+
- ready_for_review
10+
workflow_dispatch:
11+
12+
jobs:
13+
build:
14+
name: Lint
15+
runs-on: ubuntu-latest
16+
timeout-minutes: 30
17+
if: github.event.pull_request.draft == false
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v5
21+
22+
- uses: actions/setup-dotnet@v5
23+
with:
24+
dotnet-version: 10.x
25+
26+
- name: Run `dotnet format` command
27+
run: |
28+
dotnet restore
29+
dotnet format --no-restore --verify-no-changes
30+
31+
- name: Report failures as Job Summary
32+
if: ${{ failure() }}
33+
shell: pwsh
34+
run: |
35+
$content = '
36+
## Failed to run the `lint.yml` workflow
37+
To fix workflow errors. Please follow the steps below.
38+
1. Run `dotnet format` command.
39+
2. Commit changes as separated commit.
40+
3. Push changes to source branch of PR.
41+
'
42+
Write-Output $content >> $env:GITHUB_STEP_SUMMARY

.github/workflows/nightly.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,8 @@ jobs:
1515
permissions:
1616
packages: write
1717
steps:
18-
- uses: actions/setup-dotnet@v4
19-
with:
20-
dotnet-version: |
21-
10.x
2218

23-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v5
2420
with:
2521
fetch-depth: 0
2622

@@ -34,6 +30,9 @@ jobs:
3430
- name: dotnet test
3531
run: dotnet test -c Release -f net8.0 --no-build
3632

33+
- name: dotnet test
34+
run: dotnet test -c Release -f net9.0 --no-build
35+
3736
- name: dotnet test
3837
run: dotnet test -c Release -f net10.0 --no-build
3938

@@ -54,7 +53,7 @@ jobs:
5453
steps:
5554

5655
- name: Checkout
57-
uses: actions/checkout@v4
56+
uses: actions/checkout@v5
5857

5958
- name: Create NuGet.config
6059
shell: pwsh

0 commit comments

Comments
 (0)