Skip to content

Update Code Signing Task (#520) #1011

Update Code Signing Task (#520)

Update Code Signing Task (#520) #1011

name: CodeQL
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
paths:
- global.json
- NuGet.config
- src/**
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: 'csharp'
- name: Setup
uses: actions/setup-dotnet@v4
- name: Build
run: |
dotnet build ./src/Scaler.sln -c Release -p:ContinuousIntegrationBuild=true -warnaserror
dotnet build ./tests/ScaleTests.sln -c Release -p:ContinuousIntegrationBuild=true -warnaserror
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3