Skip to content

Bump Shouldly from 4.1.0 to 4.2.0 (#294) #35

Bump Shouldly from 4.1.0 to 4.2.0 (#294)

Bump Shouldly from 4.1.0 to 4.2.0 (#294) #35

# https://github.com/github/codeql
# https://github.com/github/codeql-action
name: CodeQL analysis
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
analyze:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v3
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.x'
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
queries: security-and-quality
languages: csharp
- name: Install dependencies
working-directory: src
run: dotnet restore
- name: Build CodeQL solution
# https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/troubleshooting-the-codeql-workflow#reduce-the-amount-of-code-being-analyzed-in-a-single-workflow
working-directory: src
run: dotnet build --no-restore
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2