ci: use gitea actions instead of drone #40

Merged
张泊明518370910136 merged 40 commits from actions into master 2024-09-20 08:03:01 +08:00
Showing only changes of commit 9ee0447715 - Show all commits

View File

@ -0,0 +1,21 @@
---
name: Build
on: [push]
jobs:
build:
container:
image: focs.ji.sjtu.edu.cn:5000/gitea/runner-images:ubuntu-latest-slim
steps:
- name: Check out repository code
uses: https://gitea.com/BoYanZh/checkout@focs
- name: Sanity Check
run: |
whoami
pwd
- name: Setup Go 1.23.1
uses: https://gitea.com/actions/setup-go@v5
with:
go-version: 1.23.1
- name: Display Go version
run: go version