Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding GitHub Workflow #1

Merged
merged 5 commits into from
Oct 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -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
```
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -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/
19 changes: 19 additions & 0 deletions markdownlint.yml
Original file line number Diff line number Diff line change
@@ -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 <br> to create new line