jellyfin/.github/workflows/ci-codeql-analysis.yml

38 lines
1004 B
YAML
Raw Normal View History

2020-11-21 17:49:52 +00:00
name: "CodeQL"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '24 2 * * 4'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [ 'csharp' ]
steps:
- name: Checkout repository
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
2022-11-09 14:28:52 +00:00
- name: Setup .NET
uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # v4.0.0
2020-11-21 18:03:09 +00:00
with:
2023-11-15 15:16:51 +00:00
dotnet-version: '8.0.x'
2021-11-08 13:55:16 +00:00
2020-11-21 17:49:52 +00:00
- name: Initialize CodeQL
2024-06-04 15:34:51 +00:00
uses: github/codeql-action/init@2e230e8fe0ad3a14a340ad0815ddb96d599d2aff # v3.25.8
2020-11-21 17:49:52 +00:00
with:
languages: ${{ matrix.language }}
2020-11-21 18:21:58 +00:00
queries: +security-extended
2020-11-21 17:49:52 +00:00
- name: Autobuild
2024-06-04 15:34:51 +00:00
uses: github/codeql-action/autobuild@2e230e8fe0ad3a14a340ad0815ddb96d599d2aff # v3.25.8
2020-11-21 17:49:52 +00:00
- name: Perform CodeQL Analysis
2024-06-04 15:34:51 +00:00
uses: github/codeql-action/analyze@2e230e8fe0ad3a14a340ad0815ddb96d599d2aff # v3.25.8