featurer/.gitea/workflows/on-push.yaml
Stanislav N. aka pztrn 1375d32429
All checks were successful
Linting and tests / Tests (push) Successful in 21s
Linting and tests / Linting (push) Successful in 26s
Final Gitea Actions fixes.
2024-10-12 15:49:00 +05:00

27 lines
602 B
YAML

---
name: "Linting and tests"
run-name: "Linting and tests"
on:
- push
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: "/usr/local/bin/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: "/usr/local/bin/task test"