diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..5d21f43 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,35 @@ +--- +name: Bug report +about: Report protocol errors +title: "" +labels: "" +assignees: "" +--- + +### Nature of the bug + +Spec non-conformance, panic, etc. + +### Steps taken to find bug + +What did you do to trigger the bug? + +### Steps to ensure bug is gone + +How can a fix be validated? + +### Optional: Reproduction + +Do you have an exact list of commands for others to reproduce the problem? + +### Client Debug Logs + +```console +Attach large files, but place the most relevant details here +``` + +### Server Debug Logs + +```console +Attach large files, but place the most relevant details here +``` diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..9f3b130 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,23 @@ +name: Test +on: + push: + branches: + - main + pull_request: + +jobs: + go: + name: Test Go packages + runs-on: ubuntu-latest + container: + image: golang:alpine + steps: + - name: Check out repository code + uses: actions/checkout@v4 + - name: Test all modules + run: | + apk add --no-cache bash gcc g++ openssl-dev + export GOFLAGS=-buildvcs=false + go work init + go work use -r . + go test -v ./api/handlersTest/ diff --git a/markdownlint.yml b/markdownlint.yml new file mode 100644 index 0000000..8b6d18f --- /dev/null +++ b/markdownlint.yml @@ -0,0 +1,19 @@ +default: true +MD004: + style: dash +MD010: + # Code blocks may have hard tabs. + code_blocks: false +MD013: false # Disable line length checking. We use softwraps. +MD024: false # Allow duplicate headers. +MD025: + # Ignore the front matter title. Pages still need a top level header (#). + front_matter_title: "" +MD026: + punctuation: ".,;:!。,;:!" +MD029: + style: ordered +MD033: + allowed_elements: + - ref # allow hugo relative reference links + - br # allow mermaid
to create new line