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.20.2 - name: Checkout code uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c - name: Initialize CodeQL uses: github/codeql-action/init@16964e90ba004cdf0cd845b866b5df21038b7723 with: languages: go - name: Autobuild uses: github/codeql-action/autobuild@16964e90ba004cdf0cd845b866b5df21038b7723 - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@16964e90ba004cdf0cd845b866b5df21038b7723