Add support for plugin path overrides in `protoc-gen-buf-{lint,breaki… #2016
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Broadly based on example Github action from | |
| # https://github.com/github/codeql-action#usage | |
| name: codeql | |
| # https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#permissions | |
| # https://github.com/github/codeql-action/issues/572 | |
| permissions: | |
| actions: read | |
| contents: read | |
| pull-requests: read | |
| security-events: write | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| codeql: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - name: setup-go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: '1.24.x' | |
| - name: initialize | |
| uses: github/codeql-action/init@v3 | |
| with: | |
| # Limit analysis to Go for now. | |
| # Available languages: https://docs.github.com/en/code-security/secure-coding/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#changing-the-languages-that-are-analyzed | |
| languages: go | |
| - name: autobuild | |
| uses: github/codeql-action/autobuild@v3 | |
| - name: analyze | |
| uses: github/codeql-action/analyze@v3 |