Repository navigation
Bound PDF processing and reuse parsed render documents #42
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: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| schedule: | |
| - cron: '0 4 * * 1' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| security-events: write | |
| env: | |
| DOTNET_VERSION: '10.0.x' | |
| jobs: | |
| analyze: | |
| name: Analyze C# | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v6 | |
| with: | |
| dotnet-version: ${{ env.DOTNET_VERSION }} | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v4 | |
| with: | |
| languages: csharp | |
| - name: Restore | |
| run: dotnet restore ManagedCode.FileContext.slnx | |
| - name: Build | |
| run: dotnet build ManagedCode.FileContext.slnx --configuration Release --no-restore | |
| - name: Analyze | |
| uses: github/codeql-action/analyze@v4 |