Skip to content

Commit

Permalink
upgrade golang to 1.20.4
Browse files Browse the repository at this point in the history
  • Loading branch information
danielqsj committed May 24, 2023
1 parent 8abd985 commit 0d5444a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: 1.20.4
- name: Build Docker Image
run: make push
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
## this will contain a matrix of all of the combinations
## we wish to test again:
matrix:
go-version: [ 1.19.x ]
go-version: [ 1.20.x ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: 1.20.4
- uses: olegtarasov/[email protected]
id: tagName
- name: Release Docker Image
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ build: promu

crossbuild: promu
@echo ">> crossbuilding binaries"
@$(PROMU) crossbuild --go=1.19
@$(PROMU) crossbuild --go=1.20

tarball: promu
@echo ">> building release tarball"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/danielqsj/kafka_exporter

go 1.19
go 1.20

require (
github.com/Shopify/sarama v1.38.1
Expand Down

0 comments on commit 0d5444a

Please sign in to comment.