From 721889e58650899851d5b056b86f31ac7465f68f Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sun, 23 Mar 2025 12:16:05 -0700 Subject: [PATCH] Add ci for pull request --- .gitea/workflows/test-pr.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .gitea/workflows/test-pr.yml diff --git a/.gitea/workflows/test-pr.yml b/.gitea/workflows/test-pr.yml new file mode 100644 index 0000000..43ca9d1 --- /dev/null +++ b/.gitea/workflows/test-pr.yml @@ -0,0 +1,16 @@ +name: check-and-test + +on: + - pull_request + +jobs: + check-and-test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version-file: 'go.mod' + - name: build + run: | + make build