deps: Bump Microsoft.Extensions.DependencyInjection.Abstractions from 10.0.1 to 10.0.2 #518
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
| # ============================================================================= | |
| # Security: CodeQL Analysis | |
| # ============================================================================= | |
| # Performs semantic code analysis to find security vulnerabilities and | |
| # code quality issues in C# code. | |
| # | |
| # Triggers: | |
| # - Push to main branch | |
| # - Pull requests to main | |
| # - Weekly schedule (Monday 9 AM UTC) | |
| # | |
| # For more info: https://docs.github.com/en/code-security/code-scanning | |
| # ============================================================================= | |
| name: 'Security: CodeQL' | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'src/**/*.cs' | |
| - '**/*.csproj' | |
| - '*.sln' | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - 'src/**/*.cs' | |
| - '**/*.csproj' | |
| - '*.sln' | |
| schedule: | |
| # Weekly scan on Monday at 9 AM UTC | |
| - cron: '0 9 * * 1' | |
| workflow_dispatch: | |
| jobs: | |
| analyze: | |
| name: Analyze C# | |
| runs-on: ubuntu-latest | |
| permissions: | |
| security-events: write | |
| packages: read | |
| actions: read | |
| contents: read | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v4 | |
| with: | |
| languages: csharp | |
| # Config file excludes test code and uses security-and-quality queries | |
| config-file: ./.github/codeql/codeql-config.yml | |
| - name: Setup .NET SDK | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: '8.x' | |
| - name: Build solution | |
| run: | | |
| dotnet restore | |
| dotnet build --no-restore --configuration Release | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@v4 | |
| with: | |
| category: "/language:csharp" |