ci: add gitea workflow
This commit is contained in:
parent
4c0cbfd731
commit
b673a819ad
17
.gitea/workflow/go-deploy.yaml
Normal file
17
.gitea/workflow/go-deploy.yaml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
run-name: ${{ gitea.actor }}, deploy log101.dev services
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: 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 ./...
|
Loading…
Reference in New Issue
Block a user