Skip to content

Commit

Permalink
update to Go 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
vroldanbet committed Feb 23, 2024
1 parent 2bc5d90 commit 4c0738d
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on: # yamllint disable-line rule:truthy
types:
- "checks_requested"
env:
GO_VERSION: "~1.21.3"
GO_VERSION: "~1.22.0"
DOCKERHUB_PUBLIC_ACCESS_TOKEN: "dckr_pat_8AEETZWxu8f7FvJUk9NrpyX_ZEQ"
DOCKERHUB_PUBLIC_USER: "spicedbgithubactions"
jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on: # yamllint disable-line rule:truthy
types:
- "checks_requested"
env:
GO_VERSION: "~1.21.3"
GO_VERSION: "~1.22.0"
jobs:
go-lint:
name: "Lint Go"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:
contents: "write"
packages: "write"
env:
GO_VERSION: "~1.21.3"
GO_VERSION: "~1.22.0"
jobs:
goreleaser:
runs-on: "buildjet-4vcpu-ubuntu-2204"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:
contents: "write"
packages: "write"
env:
GO_VERSION: "~1.21.3"
GO_VERSION: "~1.22.0"
jobs:
goreleaser:
runs-on: "buildjet-4vcpu-ubuntu-2204"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wasm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on: # yamllint disable-line rule:truthy
permissions:
contents: "write"
env:
GO_VERSION: "~1.21.3"
GO_VERSION: "~1.22.0"
jobs:
build:
name: "Build WASM"
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM golang:1.21.6-alpine3.18 AS spicedb-builder
FROM golang:1.22.0-alpine3.18 AS spicedb-builder
WORKDIR /go/src/app
RUN apk update && apk add --no-cache git
COPY . .
RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/go/pkg/mod CGO_ENABLED=0 go build -v ./cmd/...

FROM golang:1.21.6-alpine3.18 AS health-probe-builder
FROM golang:1.22.0-alpine3.18 AS health-probe-builder
WORKDIR /go/src/app
RUN apk update && apk add --no-cache git
RUN git clone https://github.com/grpc-ecosystem/grpc-health-probe.git
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.release
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# vim: syntax=dockerfile
ARG BASE=cgr.dev/chainguard/static:latest

FROM golang:1.21.6-alpine3.18 AS health-probe-builder
FROM golang:1.22.0-alpine3.18 AS health-probe-builder
WORKDIR /go/src/app
RUN apk update && apk add --no-cache git
RUN git clone https://github.com/grpc-ecosystem/grpc-health-probe.git
Expand Down

0 comments on commit 4c0738d

Please sign in to comment.