mirror of
https://github.com/systemd/systemd.git
synced 2024-10-30 06:25:37 +03:00
5ae4964028
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 2.4.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...ec3a7ce113134d7a93b817d10a8272cb61118579) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
name: "CodeQL"
|
|
|
|
on:
|
|
# It takes the workflow approximately 30 minutes to analyze the code base
|
|
# so it doesn't seem to make much sense to trigger it on every PR or commit.
|
|
# It runs daily at 01:00 to avoid colliding with the Coverity workflow.
|
|
schedule:
|
|
- cron: '0 1 * * *'
|
|
|
|
jobs:
|
|
analyze:
|
|
name: Analyze
|
|
runs-on: ubuntu-latest
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ matrix.language }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
security-events: write
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
language: [ 'cpp', 'python' ]
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
|
|
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@v1
|
|
with:
|
|
languages: ${{ matrix.language }}
|
|
|
|
- run: sudo -E .github/workflows/unit_tests.sh SETUP
|
|
|
|
- name: Autobuild
|
|
uses: github/codeql-action/autobuild@v1
|
|
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@v1
|