Skip to content

Commit

Permalink
chore: bump up go version to 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
mabdh committed Apr 20, 2024
1 parent 2e11f66 commit 3f673b1
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.18.3'
go-version: '1.21'
- name: Login to DockerHub
uses: docker/login-action@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/setup-go@v2
with:
go-version: '1.18'
go-version: '1.21'
- uses: actions/checkout@v2
with:
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.18.3'
go-version: '1.21'
- name: Login to DockerHub
uses: docker/login-action@v1
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.18'
go-version: '1.21'
- name: install dependencies
run: go mod tidy
- name: test binaries
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.18'
go-version: '1.21'
- name: install dependencies
run: go mod tidy
- name: install spicedb binary
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.18-alpine3.15 as builder
FROM golang:1.21-alpine3.19 as builder

RUN apk add make

Expand All @@ -11,7 +11,7 @@ COPY . .

RUN make build

FROM alpine:3.16
FROM alpine:3.19
COPY --from=builder /go/src/app/shield /usr/bin/
RUN apk update
RUN apk add ca-certificates
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ $ docker run -p 8080:8080 \

Shield requires the following dependencies:

- Golang (version 1.18 or above)
- Golang (version 1.21 or above)
- Git

### Build
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/goto/shield

go 1.18
go 1.21

require (
contrib.go.opencensus.io/exporter/prometheus v0.4.2
Expand Down

0 comments on commit 3f673b1

Please sign in to comment.