add CT workflow
This commit is contained in:
parent
b76abeac48
commit
1c6b2f712f
21
.gitea/workflows/test.yml
Normal file
21
.gitea/workflows/test.yml
Normal file
@ -0,0 +1,21 @@
|
||||
name: Test
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: '*'
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: Run unit tests
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
check-latest: true
|
||||
- name: Run unit tests
|
||||
run: go test -v ./...
|
Loading…
Reference in New Issue
Block a user