Skip to content

Commit

Permalink
More tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
IEvangelist committed Nov 25, 2021
1 parent 10378b5 commit 45d6d46
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

# CodeQL Code Scanning
# Analyses your code for security vulnerabilities and coding errors.
# For most projects, this workflow file will not need changing; you simply need
Expand Down Expand Up @@ -36,6 +35,9 @@ jobs:
name: analyze
runs-on: ubuntu-latest

permissions:
security-events: write

strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -79,19 +81,21 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ env.DOTNET_VERSION }}

- name: Autobuild
uses: github/codeql-action/autobuild@v1

- name: Install dependencies
run: |
dotnet restore ./src/HaveIBeenPwned.Client.Abstractions/HaveIBeenPwned.Client.Abstractions.csproj
dotnet restore ./src/HaveIBeenPwned.Client/HaveIBeenPwned.Client.csproj
dotnet restore ./src/HaveIBeenPwned.Client.PollyExtensions/HaveIBeenPwned.Client.PollyExtensions.csproj
#- name: Install dependencies
# run: |
# dotnet restore ./src/HaveIBeenPwned.Client.Abstractions/HaveIBeenPwned.Client.Abstractions.csproj
# dotnet restore ./src/HaveIBeenPwned.Client/HaveIBeenPwned.Client.csproj
# dotnet restore ./src/HaveIBeenPwned.Client.PollyExtensions/HaveIBeenPwned.Client.PollyExtensions.csproj

- name: Build
run: |
dotnet build ./src/HaveIBeenPwned.Client.Abstractions/HaveIBeenPwned.Client.Abstractions.csproj --configuration Release --no-restore
dotnet build ./src/HaveIBeenPwned.Client/HaveIBeenPwned.Client.csproj --configuration Release --no-restore
dotnet build ./src/HaveIBeenPwned.Client.PollyExtensions/HaveIBeenPwned.Client.PollyExtensions.csproj --configuration Release --no-restore
#- name: Build
# run: |
# dotnet build ./src/HaveIBeenPwned.Client.Abstractions/HaveIBeenPwned.Client.Abstractions.csproj --configuration Release --no-restore
# dotnet build ./src/HaveIBeenPwned.Client/HaveIBeenPwned.Client.csproj --configuration Release --no-restore
# dotnet build ./src/HaveIBeenPwned.Client.PollyExtensions/HaveIBeenPwned.Client.PollyExtensions.csproj --configuration Release --no-restore

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

0 comments on commit 45d6d46

Please sign in to comment.