Skip to content

Commit

Permalink
update badge
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzengh committed Oct 18, 2023
1 parent f5bef9f commit 2b91b88
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:

jobs:
CLAAssistant:
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- name: "CLA Assistant"
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
Expand Down
16 changes: 12 additions & 4 deletions .github/workflows/prc.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Pull Request Check
on:
pull_request:
push:
workflow_dispatch:
permissions:
contents: read
Expand All @@ -17,10 +18,17 @@ jobs:
- name: Build
run: go build -v ./...
- name: Test
run: go test -v -gcflags=all=-l ./...
run: go test -v -coverprofile=coverage.out ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: coverage.out
flags: unittests
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
golangci:
name: lint
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
Expand All @@ -34,14 +42,14 @@ jobs:
skip-cache: true # To prevent occasional failure of this action.
typos:
name: typos
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: typos
uses: crate-ci/typos@master
go-apidiff:
if: github.event_name == 'pull_request'
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
English | [中文](README.zh_CN.md)

# tRPC-Go runtime monitoring

[![Go Reference](https://pkg.go.dev/badge/github.com/trpc-ecosystem/go-metrics-runtime.svg)](https://pkg.go.dev/github.com/trpc-ecosystem/go-metrics-runtime)
[![Go Report Card](https://goreportcard.com/badge/trpc.group/trpc-go/trpc-naming-polarismesh)](https://goreportcard.com/report/trpc.group/trpc-go/trpc-naming-polarismesh)
[![LICENSE](https://img.shields.io/badge/license-Apache--2.0-green.svg)](https://github.com/trpc-ecosystem/go-metrics-runtime/blob/main/LICENSE)
[![Releases](https://img.shields.io/github/release/trpc-ecosystem/go-metrics-runtime.svg?style=flat-square)](https://github.com/trpc-ecosystem/go-metrics-runtime/releases)
[![Tests](https://github.com/trpc-ecosystem/go-metrics-runtime/actions/workflows/prc.yml/badge.svg)](https://github.com/trpc-ecosystem/go-metrics-runtime/actions/workflows/prc.yml)
[![Coverage](https://codecov.io/gh/trpc-ecosystem/go-metrics-runtime/branch/main/graph/badge.svg)](https://app.codecov.io/gh/trpc-ecosystem/go-metrics-runtime/tree/main)


Reporting runtime metrics every minutes


Expand Down
2 changes: 2 additions & 0 deletions README_CN.md → README.zh_CN.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[English](README.md) | 中文

# tRPC-Go runtime 监控
每分钟定时上报 runtime 关键监控信息

Expand Down

0 comments on commit 2b91b88

Please sign in to comment.