-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update badges (#4) * update badges * fix typo * Update README.md (#5) * Update README.zh_CN.md (#6) * add issue template (#7) * ResolvableSelector supports parse addr and extractor options (#8) * all: ResolvableSelector supports parse addr and extractor options * all: revert service_name_extractor change --------- Co-authored-by: MengYinlei <[email protected]>
- Loading branch information
Showing
12 changed files
with
320 additions
and
32 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
name: Bugs | ||
about: config, server, client, or anything else | ||
title: "affected/package: " | ||
--- | ||
|
||
<!-- | ||
Please answer these questions before submitting your issue. Thanks! | ||
--> | ||
|
||
### What version of trpc-go-selector-dsn are you using? | ||
|
||
|
||
### Does this issue reproduce with the latest release? | ||
|
||
|
||
|
||
### What operating system and processor architecture are you using (`go env`)? | ||
|
||
<details><summary><code>go env</code> Output</summary><br><pre> | ||
$ go env | ||
|
||
</pre></details> | ||
|
||
### What did you do? | ||
|
||
<!-- | ||
If possible, provide a recipe for reproducing the error. | ||
A complete runnable program is good. | ||
A link on go.dev/play is best. | ||
--> | ||
|
||
|
||
### What did you expect to see? | ||
|
||
|
||
|
||
### What did you see instead? |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
name: Features | ||
about: config, server, client, or anything else | ||
title: "affected/package: " | ||
--- | ||
|
||
<!-- | ||
Please answer these questions before submitting your issue. Thanks! | ||
--> | ||
|
||
### Is your feature request related to a problem? | ||
|
||
<!-- | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
--> | ||
|
||
### What is the solution you'd like? | ||
|
||
<!-- | ||
A clear and concise description of what you want to happen. | ||
--> | ||
|
||
### What alternatives have you considered? | ||
|
||
<!-- | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
--> | ||
|
||
### Could you provide additional context? | ||
|
||
<!-- | ||
Add any other context or screenshots about the feature request here. | ||
--> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
name: Proposals | ||
about: New external API or other notable changes | ||
title: "proposal: affected/package: " | ||
labels: Proposal | ||
--- | ||
|
||
<!-- | ||
Our proposal process is documented here: | ||
https://github.com/trpc-group/trpc/tree/main/proposal | ||
--> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: "CLA Assistant" | ||
on: | ||
issue_comment: | ||
types: [created] | ||
pull_request_target: | ||
types: [opened, synchronize, reopened] | ||
|
||
# explicitly configure permissions, in case your GITHUB_TOKEN workflow permissions are set to read-only in repository settings | ||
permissions: | ||
actions: write | ||
contents: write | ||
pull-requests: write | ||
statuses: write | ||
|
||
jobs: | ||
CLAAssistant: | ||
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' | ||
uses: contributor-assistant/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_DATABASE_ACCESS_TOKEN }} | ||
with: | ||
remote-organization-name: trpc-group | ||
remote-repository-name: cla-database | ||
path-to-signatures: 'signatures/${{ github.event.repository.name }}-${{ github.repository_id }}/cla.json' | ||
path-to-document: 'https://github.com/trpc-group/cla-database/blob/main/Tencent-Contributor-License-Agreement.md' | ||
# branch should not be protected | ||
branch: 'main' | ||
allowlist: bot* |
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: Pull Request Check | ||
on: | ||
pull_request: | ||
push: | ||
workflow_dispatch: | ||
permissions: | ||
contents: read | ||
pull-requests: read # Use with `only-new-issues` option. | ||
jobs: | ||
build: | ||
name: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.19 | ||
- name: Build | ||
run: go build -v ./... | ||
- name: Test | ||
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: ubuntu-latest | ||
steps: | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.19 | ||
- uses: actions/checkout@v3 | ||
- name: golangci-lint | ||
uses: golangci/golangci-lint-action@v3 | ||
with: | ||
version: latest | ||
only-new-issues: true | ||
skip-cache: true # To prevent occasional failure of this action. | ||
typos: | ||
name: typos | ||
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: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.19 | ||
- uses: joelanford/go-apidiff@main |
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.