A library that computes the ephemerides.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

67 行
2.1 KiB

  1. # For most projects, this workflow file will not need changing; you simply need
  2. # to commit it to your repository.
  3. #
  4. # You may wish to alter this file to override the set of languages analyzed,
  5. # or to provide custom queries or build logic.
  6. name: "CodeQL"
  7. on:
  8. push:
  9. branches: [main, features]
  10. pull_request:
  11. branches: [main, features]
  12. schedule:
  13. - cron: '0 8 * * 0'
  14. jobs:
  15. analyze:
  16. name: Analyze
  17. runs-on: ubuntu-latest
  18. strategy:
  19. fail-fast: false
  20. matrix:
  21. language: ['python']
  22. steps:
  23. - name: Checkout repository
  24. uses: actions/checkout@v2
  25. with:
  26. # We must fetch at least the immediate parents so that if this is
  27. # a pull request then we can checkout the head.
  28. fetch-depth: 2
  29. # If this run was triggered by a pull request event, then checkout
  30. # the head of the pull request instead of the merge commit.
  31. - run: git checkout HEAD^2
  32. if: ${{ github.event_name == 'pull_request' }}
  33. # Initializes the CodeQL tools for scanning.
  34. - name: Initialize CodeQL
  35. uses: github/codeql-action/init@v1
  36. with:
  37. languages: ${{ matrix.language }}
  38. # If you wish to specify custom queries, you can do so here or in a config file.
  39. # By default, queries listed here will override any specified in a config file.
  40. # Prefix the list here with "+" to use these queries and those in the config file.
  41. # queries: ./path/to/local/query, your-org/your-repo/queries@main
  42. # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
  43. # If this step fails, then you should remove it and run the build manually (see below)
  44. - name: Autobuild
  45. uses: github/codeql-action/autobuild@v1
  46. # ℹ️ Command-line programs to run using the OS shell.
  47. # 📚 https://git.io/JvXDl
  48. # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
  49. # and modify them (or add more) to build your code if your project
  50. # uses a compiled language
  51. #- run: |
  52. # make bootstrap
  53. # make release
  54. - name: Perform CodeQL Analysis
  55. uses: github/codeql-action/analyze@v1