Repository navigation
ci: Actions 升级 Node 24 运行时(checkout@v7 / setup-dotnet@v6 / action-gh-… #16
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@v7 | |
| - name: Set up .NET | |
| uses: actions/setup-dotnet@v6 | |
| 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 |