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