name: "CodeQL analysis"

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - name: Checkout repository
      uses: actions/checkout@v2

    - name: Install dependencies
      run: sudo apt-get update && sudo apt-get install -qy uthash-dev

    - name: Initialize CodeQL
      uses: github/codeql-action/init@v1

    - name: Autobuild
      uses: github/codeql-action/autobuild@v1

    - name: Perform CodeQL analysis
      uses: github/codeql-action/analyze@v1

Add a new workflow to perform CodeQL Analysis (GitHub Actions).
Add a new workflow to perform CodeQL Analysis (GitHub Actions).
