Skip to content

Commit 231c8f0

Browse files
idilhaqMuhammad Idil Haq Amir
andauthored
feat(go): upgrade go version to 1.21 (#145)
Co-authored-by: Muhammad Idil Haq Amir <[email protected]>
1 parent 1576fad commit 231c8f0

File tree

6 files changed

+7
-6
lines changed

6 files changed

+7
-6
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Go
1717
uses: actions/setup-go@v2
1818
with:
19-
go-version: "1.18"
19+
go-version: "1.21"
2020
- name: Login to DockerHub
2121
uses: docker/login-action@v1
2222
with:

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
steps:
1010
- uses: actions/setup-go@v2
1111
with:
12-
go-version: "1.18"
12+
go-version: "1.21"
1313
- uses: actions/checkout@v2
1414
with:
1515
fetch-depth: 0
@@ -20,7 +20,7 @@ jobs:
2020
test:
2121
strategy:
2222
matrix:
23-
go-version: [1.18.x]
23+
go-version: [1.21.x]
2424
os: [ubuntu-latest]
2525
runs-on: ${{ matrix.os }}
2626
steps:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Guardian provides a fully-featured GRPC and HTTP API to interact with Guardian s
119119
<summary>Dependencies:</summary>
120120

121121
- Git
122-
- Go 1.18 or above
122+
- Go 1.21 or above
123123
- PostgreSQL 13.2 or above
124124

125125
</details>

docs/docs/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ scoop update guardian
5757

5858
Guardian requires the following dependencies:
5959

60-
- Golang (version 1.18 or above)
60+
- Golang (version 1.21 or above)
6161
- Git
6262

6363
#### Build

go.mod

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

3-
go 1.18
3+
go 1.21
44

55
require (
66
cloud.google.com/go/bigquery v1.44.0

go.sum

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ cloud.google.com/go/iam v0.3.0/go.mod h1:XzJPvDayI+9zsASAFO68Hk07u3z+f+JrT2xXNdp
6262
cloud.google.com/go/iam v0.8.0 h1:E2osAkZzxI/+8pZcxVLcDtAQx/u+hZXVryUaYQ5O0Kk=
6363
cloud.google.com/go/iam v0.8.0/go.mod h1:lga0/y3iH6CX7sYqypWJ33hf7kkfXJag67naqGESjkE=
6464
cloud.google.com/go/longrunning v0.3.0 h1:NjljC+FYPV3uh5/OwWT6pVU+doBqMg2x/rZlE+CamDs=
65+
cloud.google.com/go/longrunning v0.3.0/go.mod h1:qth9Y41RRSUE69rDcOn6DdK3HfQfsUI0YSmW3iIlLJc=
6566
cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I=
6667
cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw=
6768
cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA=

0 commit comments

Comments
 (0)