Skip to content

Commit

Permalink
Fix code ql build
Browse files Browse the repository at this point in the history
  • Loading branch information
farodin91 committed Nov 25, 2021
1 parent 2b4cc3a commit 417501c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 46 deletions.
46 changes: 0 additions & 46 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,29 @@ jobs:
name: artifacts-bridge
path: ./artifacts-bridge/*

code-ql:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x

- name: Install dependencies
run: dotnet restore Motor.NET.sln

- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: csharp

- name: Build
run: dotnet build --configuration Release --no-restore Motor.NET.sln

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1

deploy:
needs: build
if: github.event_name == 'release'
Expand Down

0 comments on commit 417501c

Please sign in to comment.