Skip to content

Commit

Permalink
V15/code ql manual (#712)
Browse files Browse the repository at this point in the history
* make codeql build manually.

* dotnet 9.

* 9.

* tidy branch list in codeql.
  • Loading branch information
KevinJump authored Feb 13, 2025
1 parent 3be625c commit e56686d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
matrix:
include:
- language: csharp
build-mode: none
build-mode: manual
- language: javascript-typescript
build-mode: none
# CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
Expand All @@ -58,6 +58,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: dotnet 9
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
Expand All @@ -78,9 +83,9 @@ jobs:
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
- if: matrix.build-mode == 'manual'
shell: cmd
shell: bash
run: |
"build.cmd"
"./build.sh"
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
Expand Down
5 changes: 5 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
npm install

dotnet restore uSync.sln

dotnet build uSync.sln -c Release -f net9.0

0 comments on commit e56686d

Please sign in to comment.