github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/.github/workflows/codeql-analysis.yml (about)

     1  name: CodeQL
     2  
     3  on:
     4    push:
     5      branches: [master]
     6    pull_request:
     7      branches: [master]
     8      types: [opened, synchronize, reopened]
     9      paths-ignore:
    10        - '**/*.md'
    11        - '**/*.txt'
    12  
    13  jobs:
    14    analyze:
    15      runs-on: ubuntu-latest
    16      strategy:
    17        fail-fast: false
    18        matrix:
    19          language: ["go"]
    20  
    21      steps:
    22        - name: Checkout repository
    23          uses: actions/checkout@v3
    24  
    25        - name: Initialize CodeQL
    26          uses: github/codeql-action/init@v2
    27          with:
    28            languages: ${{ matrix.language }}
    29  
    30        # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).
    31        # If this step fails, then you should remove it and run the build manually (see below)
    32        - name: Autobuild
    33          uses: github/codeql-action/autobuild@v2
    34  
    35        # ℹī¸ Command-line programs to run using the OS shell.
    36        # 📚 https://git.io/JvXDl
    37  
    38        # ✏ī¸ If the Autobuild fails above, remove it and uncomment the following three lines
    39        #    and modify them (or add more) to build your code if your project
    40        #    uses a compiled language
    41  
    42        #- run: |
    43        #   make bootstrap
    44        #   make release
    45  
    46        - name: Perform CodeQL Analysis
    47          uses: github/codeql-action/analyze@v2