Skip to content

Commit

Permalink
added ci workflow and issue templates
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoreilly committed Jan 21, 2024
1 parent 6064973 commit fda7c8c
Show file tree
Hide file tree
Showing 4 changed files with 98 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Bug Report
description: File a bug report
labels: ["bug"]
body:
- type: textarea
id: describe-the-bug
attributes:
label: Describe the bug
description: Provide a clear and concise description of what the bug is
validations:
required: true
- type: textarea
id: how-to-reproduce
attributes:
label: How to reproduce
description: Provide a clear and concise description of how to reproduce the bug
validations:
required: true
- type: textarea
id: example-code
attributes:
label: Example code
description: If applicable, provide code that can be used reproduce the bug. This will be automatically formatted into code, so no need for backticks.
render: go
- type: textarea
id: output
attributes:
label: Relevant output
description: If applicable, copy and paste any relevant program output / panic messages / stack traces. This will be automatically formatted into code, so no need for backticks.
render: shell
- type: dropdown
id: platform
attributes:
label: Platform
description: What platform are you using?
options:
- macOS
- Windows
- Linux
- iOS
- Android
- Web
validations:
required: true

6 changes: 6 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
contact_links:
- name: Google Groups
url: https://groups.google.com/g/cogentcore
about: Get help on the Cogent Core Google Groups mailing list

blank_issues_enabled: false
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Feature Request
description: Request a new feature
labels: ["enhancement"]
body:
- type: textarea
id: describe-the-feature
attributes:
label: Describe the feature
description: Provide a clear and concise description of the proposed feature
validations:
required: true
- type: textarea
id: code
attributes:
label: Relevant code
description: If applicable, provide any relevant code that shows how the new feature would work. This will be automatically formatted into code, so no need for backticks.
render: go
30 changes: 30 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Go

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'

- name: Install dependency libraries
run: |
sudo apt-get update
sudo apt-get -y install libgl1-mesa-dev xorg-dev
- name: Build
run: go build -v ./...

- name: Test
run: go test -v ./...

0 comments on commit fda7c8c

Please sign in to comment.