feat: 热重载,开始构建 #503
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
| name: CodeQL 扫描 | |
| on: | |
| push: | |
| pull_request: | |
| schedule: | |
| - cron: "0 3 * * 1" | |
| jobs: | |
| analyze: | |
| name: CodeQL 分析 | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - language: csharp | |
| build-mode: manual | |
| - language: actions | |
| build-mode: none | |
| permissions: | |
| actions: read | |
| contents: read | |
| security-events: write | |
| steps: | |
| - name: 检出仓库 | |
| uses: actions/checkout@v4 | |
| - name: 安装 .NET SDK | |
| if: ${{ matrix.language == 'csharp' }} | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: 10.0.x | |
| dotnet-quality: preview | |
| - name: 初始化 CodeQL | |
| uses: github/codeql-action/init@v4 | |
| with: | |
| languages: ${{ matrix.language }} | |
| build-mode: ${{ matrix.build-mode }} | |
| - name: 构建 | |
| if: ${{ matrix.language == 'csharp' }} | |
| run: dotnet build SecRandom.sln -c Release | |
| - name: 执行 CodeQL 分析 | |
| uses: github/codeql-action/analyze@v4 |