1
0
forked from apps/featurer

Final Gitea Actions fixes.

This commit is contained in:
Stanislav Nikitin 2024-10-12 15:49:00 +05:00
parent fa96b6849b
commit 1375d32429
Signed by: pztrn
GPG Key ID: 1E944A0F0568B550
2 changed files with 19 additions and 29 deletions

View File

@ -1,26 +0,0 @@
---
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: "/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"

View File

@ -5,6 +5,22 @@ on:
- push - push
jobs: jobs:
LintAndTest: Linting:
uses: ./.gitea/workflows/lint-and-test.yaml runs-on: "ubuntu-22.04"
secrets: inherit 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"