From f3c11e2ae376262e04f6e31de9067c7a8a959774 Mon Sep 17 00:00:00 2001 From: CareyWong Date: Mon, 8 May 2023 16:13:31 +0800 Subject: [PATCH] Update go.yml --- .github/workflows/go.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index f2cdd3c..9652f27 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -8,12 +8,11 @@ jobs: linux_amd64_build: name: Linux amd64 build runs-on: ubuntu-latest - # runs-on: self-hosted steps: - name: Set up Go 1.20 uses: actions/setup-go@v4 with: - go-version: 1.20 + go-version-file: 'go.mod' id: go - name: Check out code into the Go module directory uses: actions/checkout@v3 @@ -35,7 +34,7 @@ jobs: - name: Set up Go 1.20 uses: actions/setup-go@v4 with: - go-version: 1.20 + go-version-file: 'go.mod' id: go - name: Check out code into the Go module directory uses: actions/checkout@v3 @@ -56,7 +55,7 @@ jobs: # - name: Set up Go 1.20 # uses: actions/setup-go@v4 # with: - # go-version: 1.20 + # go-version-file: 'go.mod' # id: go # - name: Check out code into the Go module directory # uses: actions/checkout@v3 @@ -77,7 +76,7 @@ jobs: - name: Set up Go 1.20 uses: actions/setup-go@v4 with: - go-version: 1.20 + go-version-file: 'go.mod' id: go - name: Check out code into the Go module directory uses: actions/checkout@v3