github.com/machinefi/w3bstream@v1.6.5-rc9.0.20240426031326-b8c7c4876e72/.github/workflows/codeql.yml (about)

     1  name: "Code Scanning - CodeQL"
     2  
     3  on:
     4    schedule:
     5      - cron: "30 0 * * *"
     6    workflow_dispatch:
     7  
     8  jobs:
     9    CodeQL-Build:
    10      runs-on: ubuntu-latest
    11      permissions:
    12        security-events: write
    13  
    14        actions: read
    15        contents: read
    16  
    17      steps:
    18        - name: Checkout repository
    19          uses: actions/checkout@v3
    20        - uses: actions/setup-go@v3
    21          with:
    22            go-version: "1.21"
    23  
    24        - name: Initialize CodeQL
    25          uses: github/codeql-action/init@v2
    26          with:
    27            languages: go
    28  
    29        - run: |
    30            make build_server
    31  
    32        - name: Perform CodeQL Analysis
    33          uses: github/codeql-action/analyze@v2