45 lines
1.2 KiB
YAML
Raw Normal View History

2024-04-10 09:26:54 -04:00
name: "CodeQL"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
2024-04-10 09:43:55 -04:00
permissions:
contents: write
2024-04-10 22:54:21 -04:00
packages: read
2024-04-10 09:43:55 -04:00
2024-04-10 09:26:54 -04:00
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [ 'csharp' ]
steps:
2024-04-10 14:40:29 -04:00
- uses: actions/checkout@v4
2024-04-10 09:26:54 -04:00
- name: Setup .NET
2024-04-10 14:40:29 -04:00
uses: actions/setup-dotnet@v4
2024-04-10 09:26:54 -04:00
with:
2024-04-10 14:40:29 -04:00
dotnet-version: 8.0.x
2024-04-10 22:54:21 -04:00
- name: Install dependencies
2024-04-10 09:26:54 -04:00
run: |
dotnet nuget add source --username ${{ github.repository_owner }} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name jellyfin-pre "https://nuget.pkg.github.com/jellyfin/index.json"
2024-04-10 09:26:54 -04:00
dotnet tool install --global dotnet-outdated-tool
dotnet outdated -pre Always -u -inc Jellyfin
- name: Initialize CodeQL
uses: github/codeql-action/init@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9
with:
languages: ${{ matrix.language }}
queries: +security-extended
- name: Autobuild
uses: github/codeql-action/autobuild@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9