Skip to content

Give each project its own package metadata and make Internal.AspNet p… #183

Give each project its own package metadata and make Internal.AspNet p…

Give each project its own package metadata and make Internal.AspNet p… #183

Workflow file for this run

name: "CodeQL Advanced"
on:
push:
branches: [ "develop", "master" ]
pull_request:
branches: [ "develop", "master" ]
schedule:
- cron: '0 6 * * 1'
env:
DOTNET_VERSION: 10.x.x
jobs:
analyze:
name: Analyze (csharp)
runs-on: 'ubuntu-latest'
permissions:
# required for all workflows
security-events: write
# required to fetch internal or private CodeQL packs
packages: read
# only required for workflows in private repositories
actions: read
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
with:
languages: csharp
build-mode: manual
- name: Setup .NET SDK ${{ env.DOTNET_VERSION }}
uses: actions/setup-dotnet@9a946fdbd5fb07b82b2f5a4466058b876ab72bb2 # v5.3.0
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Build .NET
shell: bash
run: |
dotnet restore
dotnet publish Internal.Common/Internal.Common.csproj -c Release
dotnet publish Internal.DynamicLinq/Internal.DynamicLinq.csproj -c Release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
with:
category: "/language:csharp"