feat: add Gitea CI configuration for build and test pipeline
This commit is contained in:
@@ -0,0 +1,21 @@
|
|||||||
|
#
|
||||||
|
# .gitea/gitea-ci.yaml
|
||||||
|
#
|
||||||
|
|
||||||
|
name: Build And Test
|
||||||
|
run-name: ${{ gitea.actor }} is runs ci pipeline
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
workflow_dispatch:
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: https://github.com/actions/checkout@v4
|
||||||
|
- name: Use Go
|
||||||
|
uses: https://github.com/actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
go-version: '1.24'
|
||||||
|
- run: go version
|
||||||
Reference in New Issue
Block a user