mirror of
https://github.com/neovim/neovim.git
synced 2026-01-06 19:39:53 +10:00
Scripts that define the build itself shouldn't be external as they lead to hard to find bugs.
38 lines
728 B
YAML
38 lines
728 B
YAML
name: "CodeQL"
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '42 0 * * 0'
|
|
workflow_dispatch:
|
|
jobs:
|
|
analyze:
|
|
name: Analyze
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
security-events: write
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
language: [ 'cpp' ]
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Install apt packages
|
|
run: ./.github/scripts/install_deps_ubuntu.sh
|
|
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@v2
|
|
with:
|
|
languages: ${{ matrix.language }}
|
|
|
|
- if: matrix.language == 'cpp'
|
|
run: make
|
|
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@v2
|