Skip to content

fixing bugs

fixing bugs #3

Workflow file for this run

name: "CodeQL Advanced"
on:
push:
branches:
- main
paths:
- '**/*.cs'
pull_request:
branches:
- main
paths:
- '**/*.cs'
permissions:
actions: read
contents: read
security-events: write
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.x'
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: csharp
build-mode: manual
- name: Restore Dependencies
run: |
dotnet restore
- name: Build the Code
run: |
dotnet build --no-restore
- name: Run .NET Tests
run: |
dotnet test --no-build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2