Gitea-related things.
Some checks failed
Linting and tests / LintAndTest (push) Failing after 33s

This commit is contained in:
Stanislav Nikitin 2024-10-12 14:17:51 +05:00
parent 57937a5845
commit b5e26b4686
Signed by: pztrn
GPG Key ID: 1E944A0F0568B550
4 changed files with 101 additions and 0 deletions

View 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]

View 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]

View 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"

View 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