mirror of
https://github.com/neovim/neovim.git
synced 2024-12-25 13:45:15 -07:00
9de9bd4bed
Bash has better error handling than cmake, and seem overall slightly more suited to scripting than cmake.
32 lines
587 B
YAML
32 lines
587 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
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Install dependencies
|
|
run: ./.github/scripts/install_deps.sh
|
|
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@v2
|
|
with:
|
|
languages: cpp
|
|
|
|
- run: make
|
|
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@v2
|