chore(ci): add golang tests
This commit is contained in:
parent
5eec7fc1a5
commit
1c63683d97
21
.gitea/workflows/golang-tests.yml
Normal file
21
.gitea/workflows/golang-tests.yml
Normal file
@ -0,0 +1,21 @@
|
||||
name: Golang Tests
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [ "opened", "reopened", "synchronize" ]
|
||||
push:
|
||||
branches:
|
||||
- '**'
|
||||
tags-ignore:
|
||||
- '**'
|
||||
|
||||
jobs:
|
||||
unittest:
|
||||
runs-on:
|
||||
- ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4.2.2
|
||||
- uses: actions/setup-go@v5.4.0
|
||||
with:
|
||||
go-version: stable
|
||||
- run: make test/unit
|
Loading…
x
Reference in New Issue
Block a user