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@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 with: go-version: 1.21 cache-dependency-path: src/go.sum - name: Checkout code uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 - name: Initialize CodeQL uses: github/codeql-action/init@461ef6c76dfe95d5c364de2f431ddbd31a417628 with: languages: go - name: Autobuild uses: github/codeql-action/autobuild@461ef6c76dfe95d5c364de2f431ddbd31a417628 - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@461ef6c76dfe95d5c364de2f431ddbd31a417628