Skip to content

Commit

Permalink
v1: Mentioned v2 in README; fixed CI; removed changelog (we will use …
Browse files Browse the repository at this point in the history
…release notes for this). (#542)

* v1: Mentioned v2 in README and removed changelog (we will use release notes for this).

Signed-off-by: bwplotka <[email protected]>

* Fixed CI.

Signed-off-by: bwplotka <[email protected]>

---------

Signed-off-by: bwplotka <[email protected]>
  • Loading branch information
bwplotka authored Mar 15, 2023
1 parent da1b13e commit d42ae9d
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 72 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: go

on:
push:
branches:
- master
tags:
pull_request:

jobs:
tests:
runs-on: ${{ matrix.platform }}
name: Unit tests on Go ${{ matrix.go }} / ${{ matrix.platform }}
strategy:
fail-fast: false
matrix:
go: [ '1.18.x', '1.19.x', '1.20.x' ]
platform: [ubuntu-latest, macos-latest]
steps:
- name: Checkout code into the Go module directory.
uses: actions/checkout@v2

- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}

- uses: actions/cache@v1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}

- name: Run unit tests.
run: make test
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

51 changes: 0 additions & 51 deletions CHANGELOG.md

This file was deleted.

12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@

[gRPC Go](https://github.com/grpc/grpc-go) Middleware: interceptors, helpers, utilities.

## ⚠️ Status

Version [v2](https://github.com/grpc-ecosystem/go-grpc-middleware/tree/v2) is about to be released, with migration guide, which will replace v1. Try v2 and give us feedback!

Version v1 is currently in deprecation mode, which means only critical and safety bug fixes will be merged.


## Middleware

[gRPC Go](https://github.com/grpc/grpc-go) recently acquired support for
Expand Down Expand Up @@ -80,11 +87,6 @@ _Please send a PR to add new interceptors or middleware to this list_
- [`grpc_recovery`](recovery/) - turn panics into gRPC errors
- [`ratelimit`](ratelimit/) - grpc rate limiting by your own limiter

## Status

This code has been running in _production_ since May 2016 as the basis of the gRPC microservices stack at [Improbable](https://improbable.io).

Additional tooling will be added, and contributions are welcome.

## License

Expand Down

0 comments on commit d42ae9d

Please sign in to comment.