Skip to content

Revise README with updated features and usage #13

Revise README with updated features and usage

Revise README with updated features and usage #13

name: "CodeQL PR Analysis"
permissions:
contents: read
security-events: write
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
jobs:
analyze:
name: Analyze code with CodeQL
runs-on: ubuntu-latest
permissions:
security-events: write
actions: read
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: csharp
- name: Build Project
run: dotnet build src/RandomAPI/RandomAPI.csproj
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3