forked from asyncapi/spec
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from asyncapi/master
update from upstream
- Loading branch information
Showing
11 changed files
with
435 additions
and
85 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,20 @@ | ||
--- | ||
name: "" | ||
about: "" | ||
--- | ||
|
||
<!-- | ||
!!! IMPORTANT !!! | ||
Before creating your issue: | ||
* **Have a question?** Find community resources at https:/asyncapi/community/issues/1. | ||
* **Found an editing mistake?** Create a Pull Request with the edited fix. The Github UI allows you to edit files directly, find the source files at [asyncapi/spec/tree/master/spec](https://github.com/asyncapi/spec/tree/master/spec). | ||
* **Improvements to documentation?** Head over to [asyncapi/website](https://github.com/asyncapi/website). | ||
* **Feature request?** First read [asyncapi/spec/blob/master/CONTRIBUTING.md](https://github.com/asyncapi/spec/blob/master/CONTRIBUTING.md) and prefer creating a Pull Request! | ||
--> |
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 |
---|---|---|
@@ -1,30 +1,45 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: "[BUG] " | ||
labels: bug | ||
title: "" | ||
labels: '🐞 Bug' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
<!-- | ||
!!! IMPORTANT !!! | ||
Before creating your issue: | ||
* **Have a question?** Find community resources at https:/asyncapi/community/issues/1. | ||
* **Found an editing mistake?** Create a Pull Request with the edited fix. The Github UI allows you to edit files directly, find the source files at [asyncapi/spec/tree/master/spec](https://github.com/asyncapi/spec/tree/master/spec). | ||
* **Improvements to documentation?** Head over to [asyncapi/website](https://github.com/asyncapi/website). | ||
* **Feature request?** First read [asyncapi/spec/blob/master/CONTRIBUTING.md](https://github.com/asyncapi/spec/blob/master/CONTRIBUTING.md) and prefer creating a Pull Request! | ||
--> | ||
|
||
### Describe the bug | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
### To Reproduce | ||
Steps to reproduce the behavior: | ||
1. Create a document with '...' | ||
2. Try to change to '....' | ||
3. Try to validate the document doing '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
### Expected behavior | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Sample document** | ||
### Sample document | ||
If applicable, add an AsyncAPI document illustrating the problem. | ||
|
||
**Screenshots** | ||
### Screenshots | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Additional context** | ||
### Additional context | ||
Add any other context about the problem here. |
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,23 @@ | ||
--- | ||
name: 💡 Proposal (RFC 1) | ||
about: See CONTRIBUTING.md | ||
title: "" | ||
labels: '💡 Proposal (RFC 1)' | ||
assignees: '' | ||
--- | ||
|
||
<!-- | ||
!!! IMPORTANT !!! | ||
Before creating your issue: | ||
* **Have a question?** Find community resources at https:/asyncapi/community/issues/1. | ||
* **Found an editing mistake?** Create a Pull Request with the edited fix. The Github UI allows you to edit files directly, find the source files at [asyncapi/spec/tree/master/spec](https://github.com/asyncapi/spec/tree/master/spec). | ||
* **Improvements to documentation?** Head over to [asyncapi/website](https://github.com/asyncapi/website). | ||
* **Feature request?** First read [asyncapi/spec/blob/master/CONTRIBUTING.md](https://github.com/asyncapi/spec/blob/master/CONTRIBUTING.md) and prefer creating a Pull Request! | ||
--> |
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,23 @@ | ||
--- | ||
name: Question | ||
about: A question about the spec or processes | ||
title: "" | ||
labels: '❔ Question' | ||
assignees: '' | ||
--- | ||
|
||
<!-- | ||
!!! IMPORTANT !!! | ||
Before creating your issue: | ||
* **Have a question?** Find community resources at https:/asyncapi/community/issues/1. | ||
* **Found an editing mistake?** Create a Pull Request with the edited fix. The Github UI allows you to edit files directly, find the source files at [asyncapi/spec/tree/master/spec](https://github.com/asyncapi/spec/tree/master/spec). | ||
* **Improvements to documentation?** Head over to [asyncapi/website](https://github.com/asyncapi/website). | ||
* **Feature request?** First read [asyncapi/spec/blob/master/CONTRIBUTING.md](https://github.com/asyncapi/spec/blob/master/CONTRIBUTING.md) and prefer creating a Pull Request! | ||
--> |
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,23 @@ | ||
--- | ||
name: 💭 Strawman (RFC 0) | ||
about: See CONTRIBUTING.md | ||
title: "" | ||
labels: '💭 Strawman (RFC 0)' | ||
assignees: '' | ||
--- | ||
|
||
<!-- | ||
!!! IMPORTANT !!! | ||
Before creating your issue: | ||
* **Have a question?** Find community resources at https:/asyncapi/community/issues/1. | ||
* **Found an editing mistake?** Create a Pull Request with the edited fix. The Github UI allows you to edit files directly, find the source files at [asyncapi/spec/tree/master/spec](https://github.com/asyncapi/spec/tree/master/spec). | ||
* **Improvements to documentation?** Head over to [asyncapi/website](https://github.com/asyncapi/website). | ||
* **Feature request?** First read [asyncapi/spec/blob/master/CONTRIBUTING.md](https://github.com/asyncapi/spec/blob/master/CONTRIBUTING.md) and prefer creating a Pull Request! | ||
--> |
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 @@ | ||
--- | ||
title: "" | ||
--- | ||
|
||
--- | ||
|
||
**Related issue(s):** | ||
|
||
--- | ||
|
||
<!-- | ||
1. Make sure you craft a good description! | ||
2. Is it a Strawman proposal (RFC 0)? Add the 💭 Strawman (RFC 0) label. | ||
3. Is it a Proposal (RFC 1)? Add the 💡 Proposal (RFC 1) label. | ||
4. Is it just an editorial fix, typo, or something that doesn't change the spec behavior? Add the ✏️ Editorial label. | ||
--> |
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,58 @@ | ||
#This action is centrally managed in https:/asyncapi/.github/ | ||
#Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in above mentioned repo | ||
#It does magic only if there is go.mod file in the root of the project | ||
name: PR testing - if Go project | ||
|
||
on: | ||
pull_request: | ||
types: [opened, reopened, synchronize, ready_for_review] | ||
|
||
jobs: | ||
lint: | ||
if: github.event.pull_request.draft == false | ||
name: lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
- name: Check if Go project and has go.mod | ||
id: gomod | ||
run: test -e ./go.mod && echo "::set-output name=exists::true" || echo "::set-output name=exists::false" | ||
shell: bash | ||
- if: steps.gomod.outputs.exists == 'true' | ||
name: Setup Go | ||
uses: actions/[email protected] | ||
with: | ||
go-version: 1.16 | ||
- if: steps.gomod.outputs.exists == 'true' | ||
name: golangci-lint | ||
uses: golangci/golangci-lint-action@v2 # golangci-lint version extracted from go.mod. `latest` if missing. | ||
with: | ||
skip-go-installation: true # we wanna control the version of Go in use | ||
|
||
test: | ||
if: github.event.pull_request.draft == false | ||
name: ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
- name: Check if Go project and has go.mod | ||
id: gomod | ||
run: test -e ./go.mod && echo "::set-output name=exists::true" || echo "::set-output name=exists::false" | ||
shell: bash | ||
- if: steps.gomod.outputs.exists == 'true' | ||
name: Setup Go | ||
uses: actions/[email protected] | ||
with: | ||
go-version: 1.16 | ||
- if: steps.gomod.outputs.exists == 'true' | ||
name: Build | ||
run: go build -v ./... | ||
- if: steps.gomod.outputs.exists == 'true' | ||
name: Test | ||
run: go test -v ./... | ||
|
Oops, something went wrong.