From a427d9270a45e2ba13856ac0bc53dceb63340413 Mon Sep 17 00:00:00 2001 From: Carey Wong <33325726+CareyWang@users.noreply.github.com> Date: Mon, 8 May 2023 15:53:39 +0800 Subject: [PATCH] Update go.yml --- .github/workflows/go.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index d129064..d3f2bbc 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -7,13 +7,13 @@ on: jobs: linux_amd64_build: name: Linux amd64 build - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest # runs-on: self-hosted steps: - - name: Set up Go 1.19 + - name: Set up Go 1.20 uses: actions/setup-go@v2 with: - go-version: 1.19 + go-version: 1.20 id: go - name: Check out code into the Go module directory uses: actions/checkout@v3 @@ -29,13 +29,13 @@ jobs: linux_arm64_build: name: Linux arm64 build - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest # runs-on: self-hosted steps: - - name: Set up Go 1.19 + - name: Set up Go 1.20 uses: actions/setup-go@v2 with: - go-version: 1.19 + go-version: 1.20 id: go - name: Check out code into the Go module directory uses: actions/checkout@v3 @@ -51,12 +51,12 @@ jobs: # darwin_amd64_build: # name: Darwin amd64 build - # runs-on: ubuntu-20.04 + # runs-on: ubuntu-latest # steps: - # - name: Set up Go 1.19 + # - name: Set up Go 1.20 # uses: actions/setup-go@v2 # with: - # go-version: 1.19 + # go-version: 1.20 # id: go # - name: Check out code into the Go module directory # uses: actions/checkout@v3 @@ -72,12 +72,12 @@ jobs: windows_x64_build: name: Windows x64 build - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - - name: Set up Go 1.19 + - name: Set up Go 1.20 uses: actions/setup-go@v2 with: - go-version: 1.19 + go-version: 1.20 id: go - name: Check out code into the Go module directory uses: actions/checkout@v3