From c828763723932abdc0b3f002d20c6087ec28f582 Mon Sep 17 00:00:00 2001 From: zhangchao Date: Thu, 24 Oct 2024 10:29:15 +0800 Subject: [PATCH] go --- .gitea/workflows/go.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitea/workflows/go.yaml diff --git a/.gitea/workflows/go.yaml b/.gitea/workflows/go.yaml new file mode 100644 index 0000000..ca3644c --- /dev/null +++ b/.gitea/workflows/go.yaml @@ -0,0 +1,19 @@ +name: Go +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Setup Go + uses: actions/setup-go@v5 + with: + go-version: '1.21.x' + - name: Install dependencies + run: go get . + - name: Build + run: go build -v ./... + - name: Test with the Go CLI + run: go test \ No newline at end of file