fix(deps): update module google.golang.org/grpc to v1.79.1 #214
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: Go | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: 1.22 | |
| - name: Setup gotestsum | |
| uses: autero1/action-gotestsum@v2.0.0 | |
| with: | |
| gotestsum_version: 1.12.0 | |
| - name: Build | |
| run: go build -v ./... | |
| - name: Run coverage | |
| run: export GOROOT=$(go env GOROOT); go test -race -coverprofile=coverage.txt -covermode=atomic -v ./... -json | tee test_results.json | gotestsum --format testdox | |
| - name: Upload Go test results | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Go-results | |
| path: test_results.json | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@v4.5.0 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} |