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

38 lines
994 B
YAML
Raw Normal View History

2020-11-21 12:49:52 -05: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@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3
2020-11-21 13:03:09 -05:00
- name: Setup .NET Core
uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a # tag=v3
2020-11-21 13:03:09 -05:00
with:
2021-09-25 08:40:19 -04:00
dotnet-version: '6.0.x'
2021-11-08 08:55:16 -05:00
2020-11-21 12:49:52 -05:00
- name: Initialize CodeQL
uses: github/codeql-action/init@b2a92eb56d8cb930006a1c6ed86b0782dd8a4297 # v2
2020-11-21 12:49:52 -05:00
with:
languages: ${{ matrix.language }}
2020-11-21 13:21:58 -05:00
queries: +security-extended
2020-11-21 12:49:52 -05:00
- name: Autobuild
uses: github/codeql-action/autobuild@b2a92eb56d8cb930006a1c6ed86b0782dd8a4297 # v2
2020-11-21 12:49:52 -05:00
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@b2a92eb56d8cb930006a1c6ed86b0782dd8a4297 # v2