Skip to content

Commit

Permalink
dependency update (#40)
Browse files Browse the repository at this point in the history
* v4 dependency update

* v4 dependency update .2
  • Loading branch information
piotrkowalczuk authored Oct 14, 2023
1 parent 659087a commit fa63482
Show file tree
Hide file tree
Showing 4 changed files with 1,821 additions and 29 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Go
on: [push]
jobs:
build:
name: Build
build-legacy:
name: Build Legacy
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.13
Expand All @@ -16,5 +16,16 @@ jobs:
run: GO111MODULE=on go test -race -cover -count=5 .
- name: Test v3
run: cd ./v3 && GO111MODULE=on go test -race -cover -count=5 ./...
- name: Test v4
run: cd ./v4 && GO111MODULE=on go test -race -cover -count=5 ./...
build-latest:
name: Build Latest
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.21
uses: actions/setup-go@v1
with:
go-version: 1.21
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Test v4
run: cd ./v4 && GO111MODULE=on go test -race -cover -count=5 ./...
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ However, if that is even not enough, it is possible to reimplement an entire sta
## Version comparison

| version | package management | api | grpc client | prometheus client | docs |
|---------|--------------------| --- | ----------- | ----------------- | ------|
| v1.0.2 | glide | interceptors | `^1.0.0` | `~0.8.0` | |
| v2.0.2 | modules| interceptors + [stats.Handler](https://godoc.org/google.golang.org/grpc/stats#Handler) | `1.13.0` | `0.8.0` | [![GoDoc](https://godoc.org/github.com/piotrkowalczuk/promgrpc?status.svg)](https://godoc.org/github.com/piotrkowalczuk/promgrpc) |
| v3.2.2 | modules | interceptors + [stats.Handler](https://godoc.org/google.golang.org/grpc/stats#Handler) | `1.13.0` | `0.8.0` | [![GoDoc](https://godoc.org/github.com/piotrkowalczuk/promgrpc/v3?status.svg)](https://godoc.org/github.com/piotrkowalczuk/promgrpc/v3) |
| v4.0.0 | modules | [stats.Handler](https://godoc.org/google.golang.org/grpc/stats#Handler) | `1.24.0` | `1.1.0` | [![GoDoc](https://godoc.org/github.com/piotrkowalczuk/promgrpc/v4?status.svg)](https://godoc.org/github.com/piotrkowalczuk/promgrpc/v4) |
|---------|--------------------| --- |-------------|-------------------| ------|
| v1.0.2 | glide | interceptors | `^1.0.0` | `~0.8.0` | |
| v2.0.2 | modules| interceptors + [stats.Handler](https://godoc.org/google.golang.org/grpc/stats#Handler) | `1.13.0` | `0.8.0` | [![GoDoc](https://godoc.org/github.com/piotrkowalczuk/promgrpc?status.svg)](https://godoc.org/github.com/piotrkowalczuk/promgrpc) |
| v3.2.2 | modules | interceptors + [stats.Handler](https://godoc.org/google.golang.org/grpc/stats#Handler) | `1.13.0` | `0.8.0` | [![GoDoc](https://godoc.org/github.com/piotrkowalczuk/promgrpc/v3?status.svg)](https://godoc.org/github.com/piotrkowalczuk/promgrpc/v3) |
| v4.0.0 | modules | [stats.Handler](https://godoc.org/google.golang.org/grpc/stats#Handler) | `1.58.3` | `1.17.0` | [![GoDoc](https://godoc.org/github.com/piotrkowalczuk/promgrpc/v4?status.svg)](https://godoc.org/github.com/piotrkowalczuk/promgrpc/v4) |

## Example

Expand Down
11 changes: 7 additions & 4 deletions v4/go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
module github.com/piotrkowalczuk/promgrpc/v4

require (
github.com/golang/protobuf v1.4.3
github.com/prometheus/client_golang v1.11.1
github.com/prometheus/client_model v0.2.0
google.golang.org/grpc v1.28.0
github.com/golang/protobuf v1.5.3
github.com/prometheus/client_golang v1.17.0
github.com/prometheus/client_model v0.5.0
github.com/prometheus/procfs v0.12.0 // indirect
golang.org/x/net v0.17.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231012201019-e917dd12ba7a // indirect
google.golang.org/grpc v1.58.3

)

Expand Down
Loading

0 comments on commit fa63482

Please sign in to comment.