name: CodeQL on: push: branches: [main] pull_request: branches: [main] schedule: - cron: "30 1 * * 0" jobs: CodeQL-Build: runs-on: ubuntu-latest permissions: security-events: write actions: read contents: read steps: - uses: actions/checkout@v3 - uses: github/codeql-action/init@v2 with: languages: go - run: | make build - uses: github/codeql-action/analyze@v2