From c0b13a5f80fd90fd5088d8eaaaf5ff1c3ef1e8fe Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Fri, 23 Feb 2024 09:46:55 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E5=8F=96=E6=B6=88=20go-test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/go-release.yml | 37 ++++++++++++++++---------------- 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/.github/workflows/go-release.yml b/.github/workflows/go-release.yml index 3d51191..8586b85 100644 --- a/.github/workflows/go-release.yml +++ b/.github/workflows/go-release.yml @@ -94,28 +94,29 @@ jobs: GOOS=windows GOARCH=amd64 go build pwd - go-test: - runs-on: windows-latest - needs: [changelog, build-test] - environment: production - name: Go Test - steps: - - uses: actions/checkout@v4 - - name: Set up Go - uses: actions/setup-go@v5 - with: - go-version: '1.21' - cache: false - - - name: Go Test - run: | - go test -v ./g_test -tag="@test" -baseurl="${{ secrets.BACKEND_URL }}" - pwd +# go-test: +# runs-on: windows-latest +# needs: [changelog, build-test] +# environment: production +# name: Go Test +# steps: +# - uses: actions/checkout@v4 +# - name: Set up Go +# uses: actions/setup-go@v5 +# with: +# go-version: '1.21' +# cache: false +# +# - name: Go Test +# run: | +# go test -v ./g_test -tag="@test" -baseurl="${{ secrets.BACKEND_URL }}" +# pwd build-go-binary: runs-on: ubuntu-latest - needs: go-test + needs: build-test + environment: production name: Go Build Binary env: GOOS: windows