-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Marco Peereboom <[email protected]> Co-authored-by: ClaytonNorthey92 <[email protected]> Co-authored-by: Joel Sing <[email protected]> Co-authored-by: Joshua Sing <[email protected]> Co-authored-by: Maxwell Sanchez <[email protected]> Co-authored-by: John C. Vernaleo <[email protected]>
- Loading branch information
Showing
87 changed files
with
20,123 additions
and
0 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,5 @@ | ||
/bin/ | ||
/dist/ | ||
/pkg/ | ||
/.gocache/ | ||
*.sw? |
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,49 @@ | ||
name: "Bug Report" | ||
description: "Report a bug to help us improve." | ||
labels: [ "status: triage", "type: bug" ] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Please **do not** use this template for questions. | ||
Have a question or need help? Join our [Discord server](https://discord.gg/8z9antYtus)! | ||
- type: checkboxes | ||
attributes: | ||
label: "Confirmation" | ||
description: "Please confirm that you have done the following before creating this issue." | ||
options: | ||
- label: "I have checked for similar issues." | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: "Describe the bug" | ||
description: "Please provide a clear and concise description of what the issue is." | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: "Expected behaviour" | ||
description: "What should have happened?" | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: "Environment" | ||
description: | | ||
Please provide information about your operating environment here. | ||
value: | | ||
Version: <!-- Hemi Network v1.2.3 --> | ||
Operating System: <!-- e.g. Windows 11, macOS 14.2.1, Ubuntu 24.04 --> | ||
Architecture: <!-- amd64, arm64 --> | ||
- type: textarea | ||
attributes: | ||
label: "Additional Information" | ||
description: | | ||
Please provide any additional information that could help with reproducing and fixing this bug. | ||
validations: | ||
required: 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: "Discord" | ||
url: "https://discord.gg/8z9antYtus" | ||
about: "Have a question or need help? Join our Discord server!" |
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,39 @@ | ||
name: "Feature Request" | ||
description: "Suggest a new feature or a change to existing functionality" | ||
labels: [ "status: triage", "type: enhancement" ] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Please **do not** use this template for questions. | ||
Have a question or need help? Join our [Discord server](https://discord.gg/8z9antYtus)! | ||
- type: checkboxes | ||
attributes: | ||
label: "Confirmation" | ||
description: "Please confirm that you have done the following before creating this issue." | ||
options: | ||
- label: "I have checked for similar issues." | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: "Problem" | ||
description: "Please provide a clear and concise description of what the problem is." | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
attributes: | ||
label: "Suggested solution" | ||
description: "How do you suggest we solve this problem?" | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
attributes: | ||
label: "Additional Information" | ||
description: | | ||
Please provide any additional information that could help us understand the requested change. | ||
validations: | ||
required: 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
**Summary** | ||
<!-- A short and concise description of what this pull request does (in present tense). --> | ||
<!-- If this pull request is related to an issue, add "Fixes #<id>" to the end of your summary. --> | ||
|
||
**Changes** | ||
<!-- A list of changes made by this 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,28 @@ | ||
changelog: | ||
exclude: | ||
labels: | ||
- "type: dependencies" | ||
- "area: ci" | ||
categories: | ||
- title: "⚠️ Breaking changes" | ||
labels: | ||
- "status: breaking" | ||
- title: "✨ Additions" | ||
labels: | ||
- "type: feature" | ||
- title: "🐛 Fixes" | ||
labels: | ||
- "type: bug" | ||
- title: "🔧 Improvements" | ||
labels: | ||
- "type: enhancement" | ||
- "type: refactor" | ||
- title: "📖 Documentation" | ||
labels: | ||
- "type: documentation" | ||
- title: "🧪 Test coverage" | ||
labels: | ||
- "type: test" | ||
- title: "⚙️ Other" | ||
labels: | ||
- "*" |
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,70 @@ | ||
# Copyright (c) 2024 Hemi Labs, Inc. | ||
# Use of this source code is governed by the MIT License, | ||
# which can be found in the LICENSE file. | ||
|
||
# GitHub Actions workflow to lint, build and test. | ||
name: "Go" | ||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
concurrency: | ||
group: "go-${{ github.workflow }}-${{ github.event.number || github.ref }}" | ||
cancel-in-progress: "${{ github.event.action == 'push' || github.event.action == 'pull_request' }}" | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
name: "Build" | ||
runs-on: "ubuntu-latest" | ||
strategy: | ||
matrix: | ||
go-version: [ "1.22.x" ] | ||
services: | ||
postgres: | ||
image: postgres:16-alpine | ||
ports: | ||
- 5432:5432 | ||
env: | ||
POSTGRES_PASSWORD: "postgres" | ||
options: >- | ||
--health-cmd pg_isready | ||
--health-interval 10s | ||
--health-timeout 5s | ||
--health-retries 5 | ||
steps: | ||
- name: "Checkout repository" | ||
uses: actions/checkout@v4 | ||
|
||
- name: "Setup Go ${{ matrix.go-version }}" | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: "${{ matrix.go-version }}" | ||
cache: true | ||
check-latest: true | ||
|
||
- name: "Download and verify dependencies" | ||
run: make deps | ||
|
||
- name: "make race" | ||
continue-on-error: true | ||
run: make race | ||
|
||
- name: "make" | ||
continue-on-error: true | ||
env: | ||
PGTESTURI: "postgres://postgres:postgres@localhost:5432/postgres?sslmode=disable" | ||
run: | | ||
make | ||
git diff --exit-code | ||
- name: "make web popm" | ||
continue-on-error: true | ||
run: | | ||
cd web && make |
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,39 @@ | ||
# Copyright (c) 2024 Hemi Labs, Inc. | ||
# Use of this source code is governed by the MIT License, | ||
# which can be found in the LICENSE file. | ||
|
||
# GitHub Actions workflow to run e2e network tests. | ||
name: "E2E Network Test" | ||
on: | ||
workflow_dispatch: # Manually triggered | ||
|
||
concurrency: | ||
group: "${{ github.workflow }}-${{ github.event.number || github.ref }}" | ||
cancel-in-progress: true | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
test: | ||
name: "Test" | ||
runs-on: "ubuntu-latest" | ||
strategy: | ||
matrix: | ||
go-version: [ "1.22.x" ] | ||
steps: | ||
- name: "Checkout repository" | ||
uses: actions/checkout@v4 | ||
|
||
- name: "Setup Go ${{ matrix.go-version }}" | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: "${{ matrix.go-version }}" | ||
cache: true | ||
check-latest: true | ||
|
||
- name: "Download and verify dependencies" | ||
run: make deps | ||
|
||
- name: "make networktest" | ||
run: make networktest |
Oops, something went wrong.