Skip to content

ci(deps): bump softprops/action-gh-release from 3.0.0 to 3.0.1 #130

ci(deps): bump softprops/action-gh-release from 3.0.0 to 3.0.1

ci(deps): bump softprops/action-gh-release from 3.0.0 to 3.0.1 #130

Workflow file for this run

name: CodeQL
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
# Weekly scheduled scan to catch new advisories against unchanged code.
- cron: '32 7 * * 1'
permissions:
contents: read
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: windows-latest
permissions:
security-events: write
packages: read
actions: read
contents: read
strategy:
fail-fast: false
matrix:
language: ['csharp', 'actions']
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Setup .NET 8
if: matrix.language == 'csharp'
uses: actions/setup-dotnet@9a946fdbd5fb07b82b2f5a4466058b876ab72bb2 # v5.3.0
with:
dotnet-version: '8.0.x'
- name: Initialize CodeQL
uses: github/codeql-action/init@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
with:
languages: ${{ matrix.language }}
queries: security-and-quality
- name: Build (csharp)
if: matrix.language == 'csharp'
run: dotnet build GamerGuardian.sln -c Release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
with:
category: '/language:${{ matrix.language }}'