This repository has been archived by the owner on Jan 21, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#75]: feat(proto): add support for multiple proto files
- Loading branch information
Showing
50 changed files
with
1,166 additions
and
352 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,40 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: "[BUG]" | ||
labels: B-bug, F-need-verification | ||
assignees: rustatian | ||
|
||
--- | ||
|
||
--- | ||
name: Bug Report | ||
about: Issue in HTTP module <replace> | ||
labels: A-network <replace> | ||
--- | ||
<!-- | ||
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug, | ||
along with any information you feel relevant to replicating the bug. | ||
--> | ||
|
||
I tried this code: | ||
|
||
```go | ||
<code> | ||
``` | ||
|
||
I expected to see this happen: *explanation* | ||
|
||
Instead, this happened: *explanation* | ||
|
||
The version of RR used: *explanation* | ||
|
||
My `.rr.yaml` configuration is: *config* | ||
|
||
Errortrace, Backtrace or Panictrace | ||
``` | ||
<backtrace> | ||
``` | ||
|
||
</p> | ||
</details> |
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,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: "[FEATURE REQUEST]" | ||
labels: C-feature-request | ||
assignees: rustatian | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**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,16 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: gomod # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: daily | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: daily |
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,24 @@ | ||
# Reason for This PR | ||
|
||
`[Author TODO: add issue # or explain reasoning.]` | ||
|
||
## Description of Changes | ||
|
||
`[Author TODO: add description of changes.]` | ||
|
||
## License Acceptance | ||
|
||
By submitting this pull request, I confirm that my contribution is made under | ||
the terms of the MIT license. | ||
|
||
## PR Checklist | ||
|
||
`[Author TODO: Meet these criteria.]` | ||
`[Reviewer TODO: Verify that these criteria are met. Request changes if not]` | ||
|
||
- [ ] All commits in this PR are signed (`git commit -s`). | ||
- [ ] The reason for this PR is clearly provided (issue no. or explanation). | ||
- [ ] The description of changes is clear and encompassing. | ||
- [ ] Any required documentation changes (code and docs) are included in this PR. | ||
- [ ] Any user-facing changes are mentioned in `CHANGELOG.md`. | ||
- [ ] All added/changed functionality is tested. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Linters | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
golangci-lint: | ||
name: Golang-CI (lint) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Run linter | ||
uses: golangci/golangci-lint-action@v2 # Action page: <https://github.com/golangci/golangci-lint-action> | ||
with: | ||
version: v1.43 # without patch version | ||
only-new-issues: false # show only new issues if it's a pull request | ||
args: --timeout=10m |
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,85 @@ | ||
name: Linux | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
- beta | ||
- stable | ||
tags-ignore: | ||
- "**" | ||
paths-ignore: | ||
- "**.md" | ||
- "**.yaml" | ||
- "**.yml" | ||
pull_request: | ||
paths-ignore: | ||
- "**.md" | ||
- "**.yaml" | ||
- "**.yml" | ||
|
||
jobs: | ||
golang: | ||
name: Build (Go ${{ matrix.go }}, PHP ${{ matrix.php }}, OS ${{matrix.os}}) | ||
runs-on: ${{ matrix.os }} | ||
timeout-minutes: 60 | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
php: ["7.4", "8.0", "8.1"] | ||
go: ["1.17.4"] | ||
os: ["ubuntu-latest"] | ||
steps: | ||
- name: Set up Go ${{ matrix.go }} | ||
uses: actions/setup-go@v2 # action page: <https://github.com/actions/setup-go> | ||
with: | ||
go-version: ${{ matrix.go }} | ||
|
||
- name: Set up PHP ${{ matrix.php }} | ||
uses: shivammathur/setup-php@v2 # action page: <https://github.com/shivammathur/setup-php> | ||
with: | ||
php-version: ${{ matrix.php }} | ||
extensions: sockets, grpc | ||
|
||
- name: Check out code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Get Composer Cache Directory | ||
id: composer-cache | ||
run: echo "::set-output name=dir::$(composer config cache-files-dir)" | ||
|
||
- name: Init Composer Cache # Docs: <https://git.io/JfAKn#php---composer> | ||
uses: actions/cache@v2 | ||
with: | ||
path: ${{ steps.composer-cache.outputs.dir }} | ||
key: ${{ runner.os }}-composer-${{ matrix.php }}-${{ hashFiles('**/composer.json') }} | ||
restore-keys: ${{ runner.os }}-composer- | ||
|
||
- name: Install Composer dependencies | ||
run: composer update --prefer-dist --no-progress --ansi | ||
|
||
- name: Init Go modules Cache # Docs: <https://git.io/JfAKn#go---modules> | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/go/pkg/mod | ||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
restore-keys: ${{ runner.os }}-go- | ||
|
||
- name: Install Go dependencies | ||
run: go mod download | ||
|
||
- name: Go mod tidy | ||
run: go mod tidy | ||
|
||
- name: Install protoc | ||
uses: arduino/setup-protoc@v1 | ||
with: | ||
version: '3.x' | ||
|
||
- name: Run golang tests with coverage | ||
run: make test | ||
|
||
- uses: codecov/codecov-action@v2 # Docs: <https://github.com/codecov/codecov-action> | ||
with: | ||
file: ./coverage-ci/summary.txt | ||
fail_ci_if_error: false |
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 |
---|---|---|
|
@@ -8,3 +8,5 @@ example/vendor/ | |
go.sum | ||
builds/ | ||
.phpunit.result.cache | ||
vendor_php | ||
coverage-ci |
Oops, something went wrong.