Skip to content

Bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.15.0 to 2.25.1 #324

Bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.15.0 to 2.25.1

Bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.15.0 to 2.25.1 #324

Workflow file for this run

name: coverage
on:
push:
branches:
- main
- develop
pull_request:
jobs:
coverage:
strategy:
matrix:
go-version: [1.20.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Run coverage
run: |
go env -w CGO_ENABLED=0
go test -v -coverprofile coverage.out ./...
go tool cover -html coverage.out -o coverage.html
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.out
flags: unittests
name: codecov-umbrella
- name: Archive code coverage results
uses: actions/upload-artifact@v3
with:
name: code-coverage-report
path: coverage.html