Repository navigation
代码质量棘轮:Meziantou.Analyzer + .editorconfig,告警清零 #9
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 日常 push / PR 的构建与测试门禁;发布流水线见 release.yml。 | |
| name: ci | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: "8.0.x" | |
| - name: Build | |
| run: dotnet build StreamFrame.slnx -c Release | |
| - name: Test | |
| run: dotnet test StreamFrame.slnx -c Release --no-build |