featurer/.gitea/workflows/lint-and-test.yaml

27 lines
610 B
YAML
Raw Normal View History

2024-10-12 14:17:51 +05:00
---
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:
2024-10-12 14:25:38 +05:00
command: "/usr/local/bin/task lint"
2024-10-12 14:17:51 +05:00
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:
2024-10-12 14:25:38 +05:00
command: "/usr/local/bin/task test"