Skip to content

Commit

Permalink
[Dep] Bump go 1.20 (#1470)
Browse files Browse the repository at this point in the history
* bump go 1.20

* update workflow go version
  • Loading branch information
odacremolbap committed Jul 12, 2023
1 parent a98c9e1 commit 29f7700
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/autofix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.19'
go-version: '1.20'

- name: Go caches
uses: actions/cache@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.19'
go-version: '1.20'

- name: Go caches
uses: actions/cache@v3
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.19'
go-version: '1.20'

- name: Go caches
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.19'
go-version: '1.20'

- name: Go caches
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.19'
go-version: '1.20'

- name: Go caches
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gen-apidocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.19.x
go-version: 1.20.x

- name: Checkout triggermesh/docs
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.19'
go-version: '1.20'

- name: Go caches
uses: actions/cache@v3
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.19'
go-version: '1.20'

- name: Go caches
uses: actions/cache@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/licenses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.19'
go-version: '1.20'

- name: Go caches
uses: actions/cache@v3
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.19'
go-version: '1.20'

- name: Go caches
uses: actions/cache@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/static.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.19'
go-version: '1.20'

# This action takes care of caching/restoring modules and build caches.
# Therefore, this step should remain the first one that is executed after
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.19'
go-version: '1.20'

- name: Go caches
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion cmd/ibmmqsource-adapter/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.19-bullseye as builder
FROM golang:1.20-bullseye as builder

RUN apt-get update && \
apt-get install -y curl && \
Expand Down
2 changes: 1 addition & 1 deletion cmd/ibmmqtarget-adapter/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.19-bullseye as builder
FROM golang:1.20-bullseye as builder

RUN apt-get update && \
apt-get install -y curl && \
Expand Down
2 changes: 1 addition & 1 deletion cmd/xslttransformation-adapter/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

# (!) Debian 11 'bullseye' must be used in both the builder and final image to
# ensure the compatibility of the GNU libc.
FROM golang:1.19-bullseye as builder
FROM golang:1.20-bullseye as builder

RUN set -eux; \
apt-get update; \
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/triggermesh/triggermesh

go 1.18
go 1.20

// Knative and CloudEvents are the common denominator to all TriggerMesh components.
require (
Expand Down

0 comments on commit 29f7700

Please sign in to comment.