Code scanning - CodeQL #153
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Code scanning - CodeQL" | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 15 * * 4' | |
jobs: | |
CodeQL-Build: | |
strategy: | |
fail-fast: false | |
# CodeQL runs on ubuntu-latest and windows-latest | |
runs-on: ubuntu-20.04 | |
steps: | |
#Checkout repo | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
# Delete the wasm folder | |
# Wasm requires compiling for the wasm target which isn't supported by GraphQL | |
- run: | | |
rm -rvf wasm | |
# Initializes the CodeQL tools for scanning. | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v1 | |
with: | |
config-file: ./.github/codeql-config.yaml | |
languages: go, javascript | |
# Perform CodeQL Analysis | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v1 |