mirror of
https://github.com/kmod-project/kmod.git
synced 2026-01-28 10:24:33 +00:00
Bumps the all-actions group with 1 update: [github/codeql-action](https://github.com/github/codeql-action).
Updates `github/codeql-action` from 3.28.10 to 3.28.13
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](b56ba49b26...1b549b9259)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.28.13
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
Link: https://github.com/kmod-project/kmod/pull/330
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
80 lines
2.1 KiB
YAML
80 lines
2.1 KiB
YAML
# SPDX-FileCopyrightText: 2024 Emil Velikov <emil.l.velikov@gmail.com>
|
|
# SPDX-FileCopyrightText: 2024 Lucas De Marchi <lucas.de.marchi@gmail.com>
|
|
#
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
name: CodeQL
|
|
|
|
on:
|
|
push:
|
|
branches: [master, ci-test]
|
|
pull_request:
|
|
branches: [master]
|
|
schedule:
|
|
- cron: "30 2 * * 0"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
analyze:
|
|
name: Analyze
|
|
runs-on: ubuntu-24.04
|
|
permissions:
|
|
actions: read
|
|
security-events: write
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- container: 'ubuntu:24.04'
|
|
meson_setup: '-D b_sanitize=none -D build-tests=false'
|
|
|
|
container:
|
|
image: ${{ matrix.container }}
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
- name: Setup OS
|
|
uses: ./.github/actions/setup-os
|
|
|
|
- name: Set the environment
|
|
run: |
|
|
.github/print-kdir.sh >> "$GITHUB_ENV"
|
|
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
|
|
with:
|
|
languages: cpp
|
|
queries: +security-and-quality
|
|
|
|
- name: Build
|
|
run: |
|
|
mkdir build && cd build
|
|
meson setup --native-file ../build-dev.ini ${{ matrix.meson_setup }} . ..
|
|
meson compile
|
|
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
|
|
with:
|
|
category: "/language:cpp"
|
|
upload: false
|
|
output: sarif-results
|
|
|
|
- name: Filter out meson-internal test files
|
|
uses: advanced-security/filter-sarif@f3b8118a9349d88f7b1c0c488476411145b6270d # v1.0.1
|
|
with:
|
|
patterns: |
|
|
-build/meson-private/**/testfile.c
|
|
input: sarif-results/cpp.sarif
|
|
output: sarif-results/cpp.sarif
|
|
|
|
- name: Upload CodeQL results to code scanning
|
|
uses: github/codeql-action/upload-sarif@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
|
|
with:
|
|
sarif_file: sarif-results/cpp.sarif
|
|
category: "/language:cpp"
|