...

Text file src/github.com/digitorus/timestamp/.github/workflows/codeql-analysis.yml

Documentation: github.com/digitorus/timestamp/.github/workflows

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

View as plain text