name: "codeql" on: push: branches: [ main ] jobs: analyze: name: analyze runs-on: ubuntu-latest permissions: security-events: write actions: read contents: read steps: - uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3 - uses: actions/setup-go@d0a58c1c4d2b25278816e339b944508c875f3613 # v3 with: go-version: '>=1.19.3' cache: true - uses: github/codeql-action/init@a669cc5936cc5e1b6a362ec1ff9e410dc570d190 # v2 - uses: github/codeql-action/autobuild@a669cc5936cc5e1b6a362ec1ff9e410dc570d190 # v2 - uses: github/codeql-action/analyze@a669cc5936cc5e1b6a362ec1ff9e410dc570d190 # v2