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@4d34df0c2316fe8122ab82dc22947d607c0c91f9 with: go-version: 1.20.2 - name: Checkout code uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f - name: Initialize CodeQL uses: github/codeql-action/init@168b99b3c22180941ae7dbdd5f5c9678ede476ba with: languages: go - name: Autobuild uses: github/codeql-action/autobuild@168b99b3c22180941ae7dbdd5f5c9678ede476ba - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@168b99b3c22180941ae7dbdd5f5c9678ede476ba