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@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 - uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4 with: go-version: stable - uses: github/codeql-action/init@cdcdbb579706841c47f7063dda365e292e5cad7a # v2 - uses: github/codeql-action/autobuild@cdcdbb579706841c47f7063dda365e292e5cad7a # v2 - uses: github/codeql-action/analyze@cdcdbb579706841c47f7063dda365e292e5cad7a # v2