Skip to content

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
upgrade go version from 1.16 to 1.21.6
  • Loading branch information
dbakit committed Jan 18, 2024
1 parent ff39ba6 commit c5367e5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c5367e5

Please sign in to comment.