1
0
forked from apps/featurer
featurer/.gitea/workflows/lint-and-test.yaml

27 lines
580 B
YAML

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