Skip to content

Commit

Permalink
ci: update the go version for the setup-go
Browse files Browse the repository at this point in the history
Signed-off-by: saltbo <saltbo@foxmail.com>
  • Loading branch information
saltbo committed Jul 25, 2023
1 parent 9e23250 commit 4dddc9c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
runs-on: ubuntu-18.04
steps:
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: 1.16.x
go-version: 1.20.x
- name: Check out code
uses: actions/checkout@v1
- name: Run Unit tests.
Expand All @@ -30,9 +30,9 @@ jobs:
needs: [test]
steps:
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: 1.16.x
go-version: 1.20.x
- name: Check out code
uses: actions/checkout@v1
- name: Build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
- name: Unshallow
run: git fetch --prune --unshallow
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: 1.16.x
go-version: 1.20.x

- name: DockerHub Login
if: success() && startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit 4dddc9c

Please sign in to comment.