You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.5 KiB

  1. name: "Code Scanning - Action"
  2. on:
  3. pull_request:
  4. concurrency:
  5. group: ${{ github.head_ref }}/codeql
  6. cancel-in-progress: true
  7. jobs:
  8. CodeQL-Build:
  9. # CodeQL runs on ubuntu-latest, windows-latest, and macos-latest
  10. runs-on: ubuntu-latest
  11. permissions:
  12. # required for all workflows
  13. security-events: write
  14. steps:
  15. - name: Checkout repository
  16. uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
  17. # Initializes the CodeQL tools for scanning.
  18. - name: Initialize CodeQL
  19. uses: github/codeql-action/init@v2
  20. # Override language selection by uncommenting this and choosing your languages
  21. with:
  22. languages: go
  23. # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
  24. # If this step fails, then you should remove it and run the build manually (see below).
  25. - name: Autobuild
  26. uses: github/codeql-action/autobuild@v2
  27. # ℹ️ Command-line programs to run using the OS shell.
  28. # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
  29. # ✏️ If the Autobuild fails above, remove it and uncomment the following
  30. # three lines and modify them (or add more) to build your code if your
  31. # project uses a compiled language
  32. #- run: |
  33. # make bootstrap
  34. # make release
  35. - name: Perform CodeQL Analysis
  36. uses: github/codeql-action/analyze@v2