From b673a819ad82d7ca73064c89963b8d7e0dc77ad6 Mon Sep 17 00:00:00 2001 From: log101 Date: Thu, 30 May 2024 09:50:56 +0300 Subject: [PATCH] ci: add gitea workflow --- .gitea/workflow/go-deploy.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .gitea/workflow/go-deploy.yaml diff --git a/.gitea/workflow/go-deploy.yaml b/.gitea/workflow/go-deploy.yaml new file mode 100644 index 0000000..2ca063e --- /dev/null +++ b/.gitea/workflow/go-deploy.yaml @@ -0,0 +1,17 @@ +run-name: ${{ gitea.actor }}, deploy log101.dev services +on: [push] + +jobs: + build: + name: 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 ./...