codeql-analysis.yml 619 B

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