This commit is contained in:
parent
98e73ab924
commit
d1080e6e15
23
.gitea/workflows/go.yaml
Normal file
23
.gitea/workflows/go.yaml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
name: Gitea Build Action
|
||||||
|
run-name: ${{ gitea.actor }} build
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Setup Go 1.24.x
|
||||||
|
uses: actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
go-version: "1.24.x"
|
||||||
|
- name: Display Go version
|
||||||
|
run: go version
|
||||||
|
- name: "[server] Install dependencies"
|
||||||
|
run: cd server && go get .
|
||||||
|
- name: "[server] Build"
|
||||||
|
run: cd server && go build -v ./...
|
||||||
|
- name: "[admin] Install dependencies"
|
||||||
|
run: cd admin && go get .
|
||||||
|
- name: "[admin] Build"
|
||||||
|
run: cd admin && go build -v ./...
|
Loading…
x
Reference in New Issue
Block a user