This repository was archived by the owner on Apr 1, 2026. It is now read-only.
Bump google.golang.org/grpc from 1.65.0 to 1.79.3 #7
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
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| name: Lint | |
| jobs: | |
| golangci-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| cache: true | |
| - name: Get date | |
| id: get-date | |
| shell: bash | |
| run: | | |
| echo "::set-output name=date::$(date -u "+%Y-%m")" | |
| - name: Restore golangci-lint cache | |
| uses: actions/cache@v4 | |
| timeout-minutes: 10 | |
| continue-on-error: true | |
| with: | |
| path: ${{ runner.temp }}/golangci-lint-cache | |
| key: ${{ runner.os }}-golangci-lint-cache-${{ steps.get-date.outputs.date }} | |
| restore-keys: | | |
| ${{ runner.os }}-golangci-lint-cache- | |
| - name: Run golangci-lint | |
| run: make lint | |
| env: | |
| GOLANGCI_LINT_CACHE: ${{ runner.temp }}/golangci-lint-cache | |
| golines: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| cache: true | |
| - name: Run golines | |
| run: | | |
| make golines > golines.diff | |
| if [ -s golines.diff ]; then | |
| echo "golines reported long lines" | |
| cat golines.diff | |
| exit 1 | |
| fi | |
| env: | |
| GOLINES_OUT_MODE: dry-run | |
| shfmt: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| cache: true | |
| - name: Run shfmt | |
| run: make shfmt |