forked from apps/featurer
		
	Final Gitea Actions fixes.
This commit is contained in:
		| @@ -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" | ||||
| @@ -5,6 +5,22 @@ on: | ||||
|   - push | ||||
|  | ||||
| jobs: | ||||
|   LintAndTest: | ||||
|     uses: ./.gitea/workflows/lint-and-test.yaml | ||||
|     secrets: inherit | ||||
|   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" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user