This commit is contained in:
parent
57937a5845
commit
b5e26b4686
36
.gitea/issue_template/bug-report.yaml
Normal file
36
.gitea/issue_template/bug-report.yaml
Normal file
@ -0,0 +1,36 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: File a bug report
|
||||
body:
|
||||
- type: markdown
|
||||
value: "Thanks for reporting a bug! Please fill form below to proceed."
|
||||
- type: textarea
|
||||
id: app-and-os-details
|
||||
attributes:
|
||||
label: What OS, deployment type and application version do you use?
|
||||
placeholder: Featurer v0.1.2 on Rocky Linux 9, deployed via Docker
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: what-happened
|
||||
attributes:
|
||||
label: What happened?
|
||||
placeholder: Tell us what you see!
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: what-expected
|
||||
attributes:
|
||||
label: What you expect to happen?
|
||||
placeholder: It should work!
|
||||
validations:
|
||||
required: true
|
||||
- type: checkboxes
|
||||
id: terms
|
||||
attributes:
|
||||
label: Code of Conduct
|
||||
description: By submitting this issue, you agree to these things
|
||||
options:
|
||||
- label: I have read the "Submitting issues" section in [CONTRIBUTING.md](/CONTRIBUTING.md)
|
||||
required: true
|
||||
visible: [form]
|
29
.gitea/issue_template/feature-request.yaml
Normal file
29
.gitea/issue_template/feature-request.yaml
Normal file
@ -0,0 +1,29 @@
|
||||
---
|
||||
name: Request a feature
|
||||
about: When something new is needed
|
||||
body:
|
||||
- type: markdown
|
||||
value: "Thanks for requesting a feature! Please fill form below to proceed."
|
||||
- type: textarea
|
||||
id: app-and-os-details
|
||||
attributes:
|
||||
label: What OS, deployment type and application version do you use?
|
||||
placeholder: Featurer v0.1.2 on Rocky Linux 9, deployed via Docker
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: what-do-you-want
|
||||
attributes:
|
||||
label: Describe feature
|
||||
placeholder: I want a big button "Make everything great" that makes everything great.
|
||||
validations:
|
||||
required: true
|
||||
- type: checkboxes
|
||||
id: terms
|
||||
attributes:
|
||||
label: Code of Conduct
|
||||
description: By submitting this issue, you agree to these things
|
||||
options:
|
||||
- label: I have read the "Submitting issues" section in [CONTRIBUTING.md](/CONTRIBUTING.md)
|
||||
required: true
|
||||
visible: [form]
|
26
.gitea/workflows/lint-and-test.yaml
Normal file
26
.gitea/workflows/lint-and-test.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
---
|
||||
name: "Linting and tests"
|
||||
run-name: "Linting and tests"
|
||||
on:
|
||||
workflow_call:
|
||||
|
||||
jobs:
|
||||
Linting:
|
||||
runs-on: "ubuntu-22.04"
|
||||
steps:
|
||||
- name: "checkout source"
|
||||
uses: actions/checkout@v4
|
||||
- name: "lint"
|
||||
uses: docker://code.pztrn.name/containers/go-toolbox:v4
|
||||
with:
|
||||
command: "task lint"
|
||||
|
||||
Tests:
|
||||
runs-on: "ubuntu-22.04"
|
||||
steps:
|
||||
- name: "checkout source"
|
||||
uses: actions/checkout@v4
|
||||
- name: "tests"
|
||||
uses: docker://code.pztrn.name/containers/go-toolbox:v4
|
||||
with:
|
||||
command: "task test"
|
10
.gitea/workflows/on-push.yaml
Normal file
10
.gitea/workflows/on-push.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
---
|
||||
name: "Linting and tests"
|
||||
run-name: "Linting and tests"
|
||||
on:
|
||||
- push
|
||||
|
||||
jobs:
|
||||
LintAndTest:
|
||||
uses: ./.gitea/workflows/lint-and-test.yaml
|
||||
secrets: inherit
|
Loading…
Reference in New Issue
Block a user