From 0aa07af0d41a8a28fd17cca4daf31dfeb469668b Mon Sep 17 00:00:00 2001 From: zhangchao Date: Thu, 31 Oct 2024 23:12:25 +0800 Subject: [PATCH] without pre build --- .gitea/workflows/go.yaml | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/.gitea/workflows/go.yaml b/.gitea/workflows/go.yaml index 9278c87..1c79922 100644 --- a/.gitea/workflows/go.yaml +++ b/.gitea/workflows/go.yaml @@ -5,31 +5,8 @@ on: - master jobs: - build: - name: Build and test - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: https://gitea.com/actions/checkout@v4 - - - name: Set up Go - uses: https://gitea.com/actions/setup-go@v3 - with: - go-version: 1.21 - - name: Set GOPROXY and GO111MODULES - run: | - echo "GOPROXY=https://goproxy.cn,direct" >> $GITEA_ENV - echo "GO111MODULES: on" >> $GITEA_ENV - - - name: Build project - run: | - go build -v ./... - - name: Test with the Go CLI - run: go test - docker: - needs: build + name: build and run runs-on: ubuntu-latest steps: