The code and data behind xeiaso.net
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

Create codeql-analysis.yml

authored by

Christine Dodrill and committed by
GitHub
c5cefd37 201d8c41

+40
+40
.github/workflows/codeql-analysis.yml
··· 1 + name: "Code scanning - action" 2 + 3 + on: 4 + push: 5 + pull_request: 6 + schedule: 7 + - cron: '0 18 * * 6' 8 + 9 + jobs: 10 + CodeQL-Build: 11 + runs-on: ubuntu-latest 12 + 13 + steps: 14 + - name: Checkout repository 15 + uses: actions/checkout@v2 16 + with: 17 + # We must fetch at least the immediate parents so that if this is 18 + # a pull request then we can checkout the head. 19 + fetch-depth: 2 20 + 21 + # If this run was triggered by a pull request event, then checkout 22 + # the head of the pull request instead of the merge commit. 23 + - run: git checkout HEAD^2 24 + if: ${{ github.event_name == 'pull_request' }} 25 + 26 + # Initializes the CodeQL tools for scanning. 27 + - name: Initialize CodeQL 28 + uses: github/codeql-action/init@v1 29 + # Override language selection by uncommenting this and choosing your languages 30 + with: 31 + languages: 32 + - go 33 + 34 + # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). 35 + # If this step fails, then you should remove it and run the build manually (see below) 36 + - name: Autobuild 37 + uses: github/codeql-action/autobuild@v1 38 + 39 + - name: Perform CodeQL Analysis 40 + uses: github/codeql-action/analyze@v1