Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/.github/workflows/codeql.yml @ 2:b50eed0cc0ef upstream
ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4.
The directory name has changed: no version number in the expanded directory now.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:43:07 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1:1d09e1dec1d9 | 2:b50eed0cc0ef |
|---|---|
| 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 # | |
| 7 # ******** NOTE ******** | |
| 8 # We have attempted to detect the languages in your repository. Please check | |
| 9 # the `language` matrix defined below to confirm you have the correct set of | |
| 10 # supported CodeQL languages. | |
| 11 # | |
| 12 name: "CodeQL" | |
| 13 | |
| 14 on: | |
| 15 #push: | |
| 16 # branches: [ "master" ] | |
| 17 #pull_request: | |
| 18 # # The branches below must be a subset of the branches above | |
| 19 # branches: [ "master" ] | |
| 20 schedule: | |
| 21 - cron: '44 7 * * *' | |
| 22 workflow_dispatch: | |
| 23 | |
| 24 jobs: | |
| 25 analyze: | |
| 26 name: Analyze | |
| 27 runs-on: ubuntu-latest | |
| 28 permissions: | |
| 29 actions: read | |
| 30 contents: read | |
| 31 security-events: write | |
| 32 | |
| 33 strategy: | |
| 34 fail-fast: false | |
| 35 matrix: | |
| 36 language: [ 'cpp', 'javascript', 'python' ] | |
| 37 # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] | |
| 38 # Use only 'java' to analyze code written in Java, Kotlin or both | |
| 39 # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both | |
| 40 # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support | |
| 41 | |
| 42 steps: | |
| 43 - name: Checkout repository | |
| 44 uses: actions/checkout@v3 | |
| 45 with: | |
| 46 submodules: true | |
| 47 | |
| 48 # Initializes the CodeQL tools for scanning. | |
| 49 - name: Initialize CodeQL | |
| 50 uses: github/codeql-action/init@v3 | |
| 51 with: | |
| 52 languages: ${{ matrix.language }} | |
| 53 # If you wish to specify custom queries, you can do so here or in a config file. | |
| 54 # By default, queries listed here will override any specified in a config file. | |
| 55 # Prefix the list here with "+" to use these queries and those in the config file. | |
| 56 | |
| 57 # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs | |
| 58 # queries: security-extended,security-and-quality | |
| 59 | |
| 60 | |
| 61 # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java). | |
| 62 # If this step fails, then you should remove it and run the build manually (see below) | |
| 63 #- name: Autobuild | |
| 64 # uses: github/codeql-action/autobuild@v3 | |
| 65 | |
| 66 # Command-line programs to run using the OS shell. | |
| 67 # See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun | |
| 68 | |
| 69 # If the Autobuild fails above, remove it and uncomment the following three lines. | |
| 70 # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. | |
| 71 | |
| 72 # - run: | | |
| 73 # echo "Run, Build Application using script" | |
| 74 # ./location_of_script_within_repo/buildscript.sh | |
| 75 | |
| 76 - run: | | |
| 77 echo "Run, Build Application using script" | |
| 78 make HAVE_GLUT=no | |
| 79 | |
| 80 - name: Perform CodeQL Analysis | |
| 81 uses: github/codeql-action/analyze@v3 | |
| 82 with: | |
| 83 category: "/language:${{matrix.language}}" |
