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@17573ee1cc1b9d061760f3a006fc4aac4f944fd5 with: languages: go - name: Autobuild uses: github/codeql-action/autobuild@17573ee1cc1b9d061760f3a006fc4aac4f944fd5 - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@17573ee1cc1b9d061760f3a006fc4aac4f944fd5