diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index eaf83d32..2859523c 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -19,10 +19,10 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 2 - - name: Set up Go 1.16 + - name: Set up Go 1.21.6 uses: actions/setup-go@v2 with: - go-version: 1.16 + go-version: 1.21.6 - name: Check run: make check - name: Unit test @@ -46,10 +46,10 @@ jobs: - uses: actions/checkout@v2 - name: Shutdown Ubuntu MySQL (SUDO) run: sudo service mysql stop # Shutdown the Default MySQL, "sudo" is necessary, please not remove it - - name: Set up Go 1.16 + - name: Set up Go 1.21.6 uses: actions/setup-go@v2 with: - go-version: 1.16 + go-version: 1.21.6 - uses: actions/cache@v2 with: path: ~/go/pkg/mod @@ -83,10 +83,10 @@ jobs: - uses: actions/checkout@v2 - name: Shutdown Ubuntu MySQL (SUDO) run: sudo service mysql stop # Shutdown the Default MySQL, "sudo" is necessary, please not remove it - - name: Set up Go 1.16 + - name: Set up Go 1.21.6 uses: actions/setup-go@v2 with: - go-version: 1.16 + go-version: 1.21.6 - uses: actions/cache@v2 with: path: ~/go/pkg/mod @@ -120,10 +120,10 @@ jobs: - uses: actions/checkout@v2 - name: Shutdown Ubuntu MySQL (SUDO) run: sudo service mysql stop # Shutdown the Default MySQL, "sudo" is necessary, please not remove it - - name: Set up Go 1.16 + - name: Set up Go 1.21.6 uses: actions/setup-go@v2 with: - go-version: 1.16 + go-version: 1.21.6 - uses: actions/cache@v2 with: path: ~/go/pkg/mod