[重构项目结构并改进构建与CI配置]: 将源码统一迁移到 src/ 目录,添加通用 CMake 模块,清理旧示例目录,并更新 CI 与工具… #41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CodeQL | |
| on: | |
| push: | |
| paths-ignore: | |
| - 'docs/**' | |
| - 'packaging/**' | |
| - 'qmake/**' | |
| - 'translations/**' | |
| - '**/*.md' | |
| - '**/*.txt' | |
| - '**/.clang-*' | |
| - '**/.gitignore' | |
| - '**/*.pri' | |
| - '**/LICENSE*' | |
| - '**/*.pro' | |
| - '**/README*' | |
| branches-ignore: | |
| - 'dependabot/**' | |
| pull_request: | |
| paths-ignore: | |
| - 'docs/**' | |
| - 'packaging/**' | |
| - 'qmake/**' | |
| - 'translations/**' | |
| - '**/*.md' | |
| - '**/*.txt' | |
| - '**/.clang-*' | |
| - '**/.gitignore' | |
| - '**/*.pri' | |
| - '**/LICENSE*' | |
| - '**/*.pro' | |
| - '**/README*' | |
| branches-ignore: | |
| - 'dependabot/**' | |
| schedule: | |
| - cron: '0 0 1 * *' | |
| workflow_dispatch: | |
| jobs: | |
| CodeQL: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 1 | |
| - uses: ./.github/actions/install-dependencies | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v4 | |
| with: | |
| languages: cpp | |
| - name: Autobuild | |
| uses: github/codeql-action/autobuild@v4 | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@v4 | |