This commit is contained in:
zhangchao
2024-10-24 10:29:15 +08:00
parent 3286dd19d6
commit c828763723

19
.gitea/workflows/go.yaml Normal file
View File

@@ -0,0 +1,19 @@
name: Go
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.21.x'
- name: Install dependencies
run: go get .
- name: Build
run: go build -v ./...
- name: Test with the Go CLI
run: go test