Skip to content

Commit

Permalink
Trying to fix codeql scanning
Browse files Browse the repository at this point in the history
  • Loading branch information
lookbusy1344 committed Oct 8, 2023
1 parent 33e507f commit be6aece
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ name: "CodeQL"

on:
push:
branches: [ "main" ]
branches: [ "main", "extension" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
branches: [ "main", "extension" ]
schedule:
- cron: '40 21 * * 2'

Expand Down Expand Up @@ -63,8 +63,8 @@ jobs:

# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
# - name: Autobuild
# uses: github/codeql-action/autobuild@v2

# ℹ️ 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
Expand All @@ -76,6 +76,17 @@ jobs:
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh

- name: Setup .NET SDK
uses: actions/setup-dotnet@v3.2.0
with:
dotnet-version: '7.0.x'

- name: Restore dependencies
run: dotnet restore

- name: Build
run: dotnet build --configuration Debug --no-restore RecordValueAnalyser.Package

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
Expand Down

0 comments on commit be6aece

Please sign in to comment.