diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..71a2d6a --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -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