ci: add build workflow
All checks were successful
Go / build (push) Successful in 38s
All checks were successful
Go / build (push) Successful in 38s
This commit is contained in:
parent
e415f8bcae
commit
f64e2ce04f
23
.gitea/workflows/go.yaml
Normal file
23
.gitea/workflows/go.yaml
Normal file
@ -0,0 +1,23 @@
|
||||
name: Go
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '1.23.4'
|
||||
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
|
||||
- name: Test
|
||||
run: go test -v ./...
|
Loading…
x
Reference in New Issue
Block a user