Skip to content

Commit 5e3dcc5

Browse files
anoopcs9mergify[bot]
authored andcommitted
build: Bump minimum Go version to 1.18
go.sum changes are result of running `go mod tidy` after updating go directive in go.mod. Signed-off-by: Anoop C S <[email protected]>
1 parent a6f86cd commit 5e3dcc5

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
steps:
1414
- uses: actions/setup-go@v3
1515
with:
16-
go-version: "1.17"
16+
go-version: "1.18"
1717
- uses: actions/checkout@v3
1818
- name: Build
1919
run: make
@@ -23,7 +23,7 @@ jobs:
2323
steps:
2424
- uses: actions/setup-go@v3
2525
with:
26-
go-version: "1.17"
26+
go-version: "1.18"
2727
- uses: actions/checkout@v3
2828
- name: Install revive
2929
run: go install github.com/mgechev/revive@latest
@@ -34,7 +34,7 @@ jobs:
3434
steps:
3535
- uses: actions/setup-go@v3
3636
with:
37-
go-version: "1.17"
37+
go-version: "1.18"
3838
- uses: actions/checkout@v3
3939
- name: run the tests
4040
run: make test
@@ -88,7 +88,7 @@ jobs:
8888
- uses: actions/checkout@v3
8989
- uses: actions/setup-go@v3
9090
with:
91-
go-version: "1.17"
91+
go-version: "1.18"
9292
- name: Install k3d
9393
run: curl -L --silent --fail "https://raw.githubusercontent.com/rancher/k3d/main/install.sh" | bash
9494
# The TAG env var can interfere with the k3d install script.

docs/developers-notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
## Build from source
55

66
The top-level [Makefile](../Makefile) is the entry point for various build
7-
commands. The minimal required Go version is 1.17. A developer can verify the
7+
commands. The minimal required Go version is 1.18. A developer can verify the
88
build environment by running:
99

1010
```bash

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/samba-in-kubernetes/samba-operator
22

3-
go 1.17
3+
go 1.18
44

55
require (
66
github.com/go-logr/logr v0.4.0

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnweb
7979
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
8080
github.com/certifi/gocertifi v0.0.0-20191021191039-0944d244cd40/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA=
8181
github.com/certifi/gocertifi v0.0.0-20200922220541-2c3bb06c6054/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA=
82-
github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko=
8382
github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc=
8483
github.com/cespare/xxhash/v2 v2.1.1 h1:6MnRN8NT7+YBpUIWxHtefFZOKTAPgGjpQSxqLNn0+qY=
8584
github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
@@ -931,7 +930,6 @@ k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8
931930
k8s.io/gengo v0.0.0-20201214224949-b6c5ce23f027/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E=
932931
k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk=
933932
k8s.io/klog v0.3.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk=
934-
k8s.io/klog v1.0.0 h1:Pt+yjF5aB1xDSVbau4VsWe+dQNzA0qv1LlXdC2dF6Q8=
935933
k8s.io/klog v1.0.0/go.mod h1:4Bi6QPql/J/LkTDqv7R/cd3hPo4k2DG6Ptcz060Ez5I=
936934
k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE=
937935
k8s.io/klog/v2 v2.2.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y=

0 commit comments

Comments
 (0)