2024-10-16 14:05:47 +00:00
|
|
|
name: Gitea Action for testing api server
|
|
|
|
run-name: Compile and test API server
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
run-ci-server:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Check out repository code
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Setup go
|
|
|
|
uses: https://github.com/actions/setup-go@v4
|
|
|
|
with:
|
2024-10-16 14:11:55 +00:00
|
|
|
go-version: '>=1.20.1'
|
2024-10-16 14:05:47 +00:00
|
|
|
- name: Run API server CI
|
|
|
|
run: bash -c ./server/run-ci.sh
|