Add OpenDream support and SessionId
#848
Workflow file for this run
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: 'Code Scanning' | |
on: | |
schedule: | |
- cron: 0 23 * * 1 | |
push: | |
branches: | |
- dev | |
- master | |
- V6 | |
pull_request: | |
branches: | |
- dev | |
- master | |
- V6 | |
env: | |
TGS_DOTNET_VERSION: 8 | |
TGS_DOTNET_QUALITY: preview | |
concurrency: | |
group: "code-scanning-${{ github.head_ref || github.run_id }}-${{ github.event_name }}" | |
cancel-in-progress: true | |
jobs: | |
analyze: | |
name: Code Scanning | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
if: ${{ vars.TGS_ENABLE_CODE_QL }} == 'true' | |
steps: | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '${{ env.TGS_DOTNET_VERSION }}.0.x' | |
dotnet-quality: ${{ env.TGS_DOTNET_QUALITY }} | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: csharp | |
- name: Build | |
run: dotnet build -c ReleaseNoWindows -p:TGS_HOST_NO_WEBPANEL=true | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 | |
with: | |
category: "/language:csharp" |