Skip to content

Commit

Permalink
bump up to Go 1.23, drop support for Go 1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
itchyny committed Aug 14, 2024
1 parent 0607aa5 commit 470db58
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x
go-version: 1.23.x
- name: Build
run: make build
- name: Check command examples
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
go: [1.22.x, 1.21.x, 1.20.x]
go: [1.23.x, 1.22.x, 1.21.x]
fail-fast: false
steps:
- name: Checkout code
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.22 AS builder
FROM golang:1.23 AS builder

WORKDIR /app
COPY go.* ./
RUN go mod download
COPY . .
ENV CGO_ENABLED 0
ENV CGO_ENABLED=0
RUN make build

FROM gcr.io/distroless/static:debug
Expand Down
2 changes: 1 addition & 1 deletion go.dev.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/itchyny/gojq

go 1.20
go 1.21

require (
github.com/itchyny/astgen-go v0.0.0-20231113225122-e1c22b9aaf7b // indirect
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/itchyny/gojq

go 1.20
go 1.21

require (
github.com/google/go-cmp v0.5.4
Expand Down

0 comments on commit 470db58

Please sign in to comment.