Reuse source.Opener and ir.Session to fix executor memory leaks in LSP
#4516
Workflow file for this run
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
| name: binary-size | |
| on: | |
| push: | |
| branches: | |
| - main | |
| tags: ["v*"] | |
| pull_request: | |
| # Prevent writing to the repository using the CI token. | |
| # Ref: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#permissions | |
| permissions: read-all | |
| env: | |
| MAKEFLAGS: "-j 2" | |
| jobs: | |
| buf-binary-size: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v6 | |
| - name: setup-go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: "1.25.x" | |
| check-latest: true | |
| - name: cache | |
| uses: actions/cache@v5 | |
| with: | |
| path: | | |
| ~/.cache/buf/${{ runner.os }}/x86_64/bin | |
| ~/.cache/buf/${{ runner.os }}/x86_64/go/pkg/mod | |
| ~/.cache/buf/${{ runner.os }}/x86_64/gocache | |
| ~/.cache/buf/${{ runner.os }}/x86_64/include | |
| ~/.cache/buf/${{ runner.os }}/x86_64/versions | |
| key: ${{ runner.os }}-buf-${{ hashFiles('**/go.sum', 'make/**') }} | |
| restore-keys: | | |
| ${{ runner.os }}-buf- | |
| - name: make-bufbinarysize | |
| run: make bufbinarysize |