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: