Add workflow
This commit is contained in:
parent
03481b1c77
commit
73bb09d56c
19
.gitea/workflows/build.yml
Normal file
19
.gitea/workflows/build.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
on: push
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: standard-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup Go
|
||||||
|
uses: actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
go-version: '^1.23.2'
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: go build .
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
run: go test .
|
Loading…
x
Reference in New Issue
Block a user