Files
BootstrapBlazor/.github/workflows/auto-pull-request-checks.yml
Argo Zhang 7c728614ea feat(NET10): add NET10 support (#6940)
* doc: 增加 nosnippet 标签

* chore: 增加脚本指纹

* chore: 增加 net10 依赖包

* doc: 增加 NotFound 路由

* chore: 更新网站运行时为 net10

* chore: 更新脚本版本

* refactor: 更改滚动条对齐方式

* chore: 增加 logs 目录自动创建脚本

* chore: 更改输出目录

* chore: 更改 dotnet 命令路径

* doc: 更新支持列表

* doc: 增加 NET10 支持列表

* chore: 更新 slnx 解决方案文件

* chore: 增加 AutoRestart 配置

* refactor: 移除配置项

* chore: 更新依赖包

* test: 更新单元测试
2025-10-18 12:02:12 +08:00

42 lines
900 B
YAML

name: Auto PR test(bot)
on:
pull_request:
branches:
- master
- main
jobs:
run_test:
name: run test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.x
- name: Cache NuGet packages
uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: ${{runner.os}}-nuget-bb-${{hashFiles('**/*.csproj')}}
restore-keys: |
${{runner.os}}-nuget-bb-
- name: Restore dependencies
run: dotnet restore src/BootstrapBlazor
- name: Test
run: |
dotnet test test/UnitTest --collect:"XPlat Code Coverage"
- name: Upload to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: BB