From c926de6e85d35355bb994e6d8dc0b61d513aa9a4 Mon Sep 17 00:00:00 2001 From: CareyWong Date: Mon, 8 May 2023 16:16:45 +0800 Subject: [PATCH] Update go.yml --- .github/workflows/go.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 3680294..930603b 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -12,7 +12,7 @@ jobs: - name: Set up Go 1.20 uses: actions/setup-go@v3 with: - go-version-file: 'go.mod' + go-version: '^1.20.4' id: go - name: Check out code into the Go module directory uses: actions/checkout@v3 @@ -34,7 +34,7 @@ jobs: - name: Set up Go 1.20 uses: actions/setup-go@v3 with: - go-version-file: 'go.mod' + go-version: '^1.20.4' id: go - name: Check out code into the Go module directory uses: actions/checkout@v3 @@ -55,7 +55,7 @@ jobs: # - name: Set up Go 1.20 # uses: actions/setup-go@v3 # with: - # go-version-file: 'go.mod' + # go-version: '^1.20.4' # id: go # - name: Check out code into the Go module directory # uses: actions/checkout@v3 @@ -76,7 +76,7 @@ jobs: - name: Set up Go 1.20 uses: actions/setup-go@v3 with: - go-version-file: 'go.mod' + go-version: '^1.20.4' id: go - name: Check out code into the Go module directory uses: actions/checkout@v3