on: pull_request: paths-ignore: - 'README.md' - 'CONTRIBUTING.md' - 'COPYING' - 'website/**' - '.github/*.md' - '.github/FUNDING.yml' push: branches: - main name: Code QL jobs: code-ql: runs-on: ubuntu-latest defaults: run: working-directory: ${{ github.workspace }}/src steps: - name: Install Go uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 with: go-version: 1.18 - name: Checkout code uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c - name: Initialize CodeQL uses: github/codeql-action/init@3ebbd71c74ef574dbc558c82f70e52732c8b44fe with: languages: go - name: Autobuild uses: github/codeql-action/autobuild@3ebbd71c74ef574dbc558c82f70e52732c8b44fe - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@3ebbd71c74ef574dbc558c82f70e52732c8b44fe