ci(gitea): add validation and release workflows
This commit is contained in:
23
.gitea/workflows/push-unit-tests.yml
Normal file
23
.gitea/workflows/push-unit-tests.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
name: Push Unit Tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "**"
|
||||
tags-ignore:
|
||||
- "*"
|
||||
|
||||
jobs:
|
||||
unit-tests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
|
||||
- name: Run full unit test suite
|
||||
run: go test ./...
|
||||
Reference in New Issue
Block a user