CodeQL #779
This file contains 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" | |
paths: | |
- "**.js" | |
- "**.ts" | |
- "package.json" | |
- "pnpm-lock.yaml" | |
- "*/**.cs" | |
- "*/**.csproj" | |
- ".editorconfig" | |
- "*.props" | |
- "global.json" | |
- "nuget.config" | |
- "*.sln" | |
pull_request: | |
paths: | |
- "**.js" | |
- "**.ts" | |
- "package.json" | |
- "pnpm-lock.yaml" | |
- "*/**.cs" | |
- "*/**.csproj" | |
- ".editorconfig" | |
- "*.props" | |
- "global.json" | |
- "nuget.config" | |
- "*.sln" | |
schedule: | |
- cron: "0 0 */2 * *" | |
workflow_dispatch: | |
concurrency: | |
group: "${{ github.workflow }}-${{ github.ref }}" | |
cancel-in-progress: true | |
jobs: | |
analyzer: | |
name: "Analyzer" | |
runs-on: "${{ vars.DEFAULT_UBUNTU }}" | |
strategy: | |
matrix: | |
languages: | |
- "javascript-typescript" | |
- "csharp" | |
steps: | |
- name: "Set up repository with the latest commit" | |
uses: "actions/[email protected]" | |
- name: "Set up analyzer" | |
uses: "github/codeql-action/[email protected]" | |
with: | |
languages: "${{ matrix.languages }}" | |
- name: "Build assemblies" | |
uses: "github/codeql-action/[email protected]" | |
- name: "Run analyzer" | |
uses: "github/codeql-action/[email protected]" | |
with: | |
category: "/language:${{ matrix.languages }}" |