2
0

codeql-analysis.yml 640 B

123456789101112131415161718192021222324252627282930313233
  1. name: "CodeQL"
  2. on:
  3. push:
  4. pull_request:
  5. schedule:
  6. # run weekly new vulnerability was added to the the database
  7. - cron: '0 0 * * 0'
  8. jobs:
  9. analyze:
  10. name: Analyze
  11. runs-on: ubuntu-latest
  12. strategy:
  13. fail-fast: false
  14. matrix:
  15. language: [ 'cpp' ]
  16. steps:
  17. - name: Checkout repository
  18. uses: actions/checkout@v2
  19. - name: Initialize CodeQL
  20. uses: github/codeql-action/init@v1
  21. with:
  22. languages: ${{ matrix.language }}
  23. - name: Autobuild
  24. uses: github/codeql-action/autobuild@v1
  25. - name: Perform CodeQL Analysis
  26. uses: github/codeql-action/analyze@v1