Skip to content

Make npm and Jest a first-class CI target (#228) #1046

Make npm and Jest a first-class CI target (#228)

Make npm and Jest a first-class CI target (#228) #1046

Workflow file for this run

name: CodeQL
on:
push:
branches:
- main
- pre-main-integration
paths-ignore:
- '**.md'
- 'doc/**'
- 'CLAUDE.md'
- 'LICENSE'
pull_request:
branches:
- main
- pre-main-integration
paths-ignore:
- '**.md'
- 'doc/**'
- 'CLAUDE.md'
- 'LICENSE'
schedule:
- cron: "0 18 * * 0"
workflow_dispatch:
permissions:
actions: read
contents: read
security-events: write
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language:
- csharp
- actions
steps:
- name: Checkout
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Set up .NET
if: ${{ matrix.language == 'csharp' }}
uses: actions/setup-dotnet@v6
with:
global-json-file: global.json
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Restore dependencies
if: ${{ matrix.language == 'csharp' }}
run: dotnet restore FolderDiffIL4DotNet.sln
- name: Build for CodeQL
if: ${{ matrix.language == 'csharp' }}
run: dotnet build FolderDiffIL4DotNet.sln --configuration Release --no-restore
- name: Analyze
uses: github/codeql-action/analyze@v3