Skip to content

Fix bug in commit on new nodes with invalid names. #489

Fix bug in commit on new nodes with invalid names.

Fix bug in commit on new nodes with invalid names. #489

name: "CodeQL"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '40 14 * * 6'
jobs:
analyze:
name: Analyze
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
language: [ 'csharp' ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup NuGet.exe
uses: NuGet/setup-nuget@v1
- name: Setup MSBuild.exe
uses: microsoft/[email protected]
- name: Restore the application
run: nuget restore ./src/XmlNotepad.sln
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
queries: security-and-quality
languages: csharp
# Restore the application again to avoid codeql messing things up
- name: Restore the application
run: nuget restore ./src/XmlNotepad.sln
- name: Build the application
run: msbuild ./src/XmlNotepad.sln /p:Configuration=Release /verbosity:minimal /p:UseSharedCompilation=False
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2