Files
Umbraco-CMS/.github/workflows/codeql-analysis.yml
Bjarke Berg e92abf7d51 Merge remote-tracking branch 'origin/v9/dev' into v10/dev
# Conflicts:
#	.github/workflows/codeql-analysis.yml
#	build/templates/UmbracoPackage/.template.config/template.json
#	build/templates/UmbracoProject/.template.config/template.json
#	src/Directory.Build.props
#	src/Umbraco.Infrastructure/Security/BackOfficeUserStore.cs
2022-01-23 13:46:10 +01:00

35 lines
796 B
YAML

name: "Code scanning - action"
on:
push:
branches: ['*/dev','*/contrib']
pull_request:
# The branches below must be a subset of the branches above
branches: ['*/dev','*/contrib']
jobs:
CodeQL-Build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
config-file: ./.github/config/codeql-config.yml
- name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
- name: dotnet build
run: dotnet build umbraco-netcore-only.sln # also runs npm build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1