🧹 chore: Improve propagation of context.Context #887
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: Modernize Lint | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - main | |
| paths: | |
| - "**.go" | |
| - "!**/*_msgp*.go" | |
| pull_request: | |
| paths: | |
| - "**.go" | |
| - "!**/*_msgp*.go" | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| checks: write | |
| jobs: | |
| modernize: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| # NOTE: Keep this in sync with the version from go.mod | |
| go-version: "1.25.x" | |
| cache: false | |
| - name: modernize | |
| run: go run golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest -test=false ./... |