Skip to content

test: Set ConfigureAwait #726

test: Set ConfigureAwait

test: Set ConfigureAwait #726

# Copyright (c) Omar Boukli-Hacene. All rights reserved.
# Distributed under an MIT-style license that can be
# found in the LICENSE file.
# SPDX-License-Identifier: MIT
name: CodeQL analysis
on:
pull_request:
branches:
- main
push:
branches:
- main
schedule:
- cron: 10 22 * * 5
permissions: {}
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language:
- csharp
steps:
- name: Check out repository
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v2