Skip to content

Commit 76bc4ff

Browse files
authored
Bump up go version to 1.21 and k8s.io/apimachinery to v0.29.2 (#80)
* Bump up go to 1.21 and apimachinery to 0.29.2 Signed-off-by: thepetk <thepetk@gmail.com> * Update workflows and documentation Signed-off-by: thepetk <thepetk@gmail.com> --------- Signed-off-by: thepetk <thepetk@gmail.com>
1 parent d33001f commit 76bc4ff

File tree

6 files changed

+53
-55
lines changed

6 files changed

+53
-55
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Setup Go environment
1515
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
1616
with:
17-
go-version: '1.19'
17+
go-version: '1.21'
1818

1919
- name: Check go mod status
2020
run: |
@@ -62,7 +62,7 @@ jobs:
6262
- name: Set up Go 1.x
6363
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
6464
with:
65-
go-version: 1.19
65+
go-version: 1.21
6666
- name: Run tests
6767
run: make test
6868
- name: Codecov

.github/workflows/check_registry.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
id: setup-go
2828
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
2929
with:
30-
go-version: "1.19.5"
30+
go-version: "1.21"
3131
- name: Run registries check
3232
id: build
3333
run: |

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
fetch-depth: 0
3434
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
3535
with:
36-
go-version: '1.19.5'
36+
go-version: '1.21'
3737
- name: Get OS and arch info
3838
run: |
3939
GOOSARCH=${{matrix.goosarch}}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Alizer
22

3-
![Go](https://img.shields.io/badge/Go-1.19-blue)
3+
![Go](https://img.shields.io/badge/Go-1.21-blue)
44
[![Build status](https://github.com/devfile/alizer/actions/workflows/CI.yml/badge.svg)](https://github.com/devfile/alizer/actions/workflows/CI.yml)
55
[![License](https://img.shields.io/badge/License-Apache%202.0-orange.svg)](./LICENSE)
66
[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/8254/badge)](https://www.bestpractices.dev/projects/8254)

go.mod

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/devfile/alizer
22

3-
go 1.19
3+
go 1.21
44

55
require (
66
github.com/go-git/go-git/v5 v5.12.0
@@ -16,7 +16,7 @@ require (
1616
golang.org/x/mod v0.17.0
1717
gopkg.in/yaml.v2 v2.4.0
1818
gopkg.in/yaml.v3 v3.0.1
19-
sigs.k8s.io/controller-runtime v0.14.7
19+
sigs.k8s.io/controller-runtime v0.17.5
2020
)
2121

2222
require (
@@ -30,7 +30,7 @@ require (
3030
github.com/emirpasic/gods v1.18.1 // indirect
3131
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
3232
github.com/go-git/go-billy/v5 v5.5.0 // indirect
33-
github.com/go-logr/zapr v1.2.4 // indirect
33+
github.com/go-logr/zapr v1.3.0 // indirect
3434
github.com/gogo/protobuf v1.3.2 // indirect
3535
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
3636
github.com/google/gofuzz v1.2.0 // indirect
@@ -50,13 +50,13 @@ require (
5050
golang.org/x/net v0.23.0 // indirect
5151
golang.org/x/sys v0.18.0 // indirect
5252
golang.org/x/text v0.14.0 // indirect
53-
golang.org/x/tools v0.14.0 // indirect
53+
golang.org/x/tools v0.16.1 // indirect
5454
google.golang.org/protobuf v1.33.0 // indirect
5555
gopkg.in/inf.v0 v0.9.1 // indirect
5656
gopkg.in/warnings.v0 v0.1.2 // indirect
57-
k8s.io/apimachinery v0.27.3 // indirect
58-
k8s.io/klog/v2 v2.100.1 // indirect
59-
k8s.io/utils v0.0.0-20230505201702-9f6742963106 // indirect
57+
k8s.io/apimachinery v0.29.2 // indirect
58+
k8s.io/klog/v2 v2.110.1 // indirect
59+
k8s.io/utils v0.0.0-20230726121419-3b25d923346b // indirect
6060
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
61-
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
61+
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
6262
)

0 commit comments

Comments
 (0)