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

This commit is contained in:
2024-10-12 14:17:51 +05:00
parent 57937a5845
commit b5e26b4686
4 changed files with 101 additions and 0 deletions

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