From 6a40e77d0af1f2316802f432149f4ed3ec68d8aa Mon Sep 17 00:00:00 2001 From: Matt Gleich Date: Sun, 18 Aug 2024 16:38:03 -0400 Subject: [PATCH] feat: upgrade go to 1.23 Signed-off-by: Matt Gleich --- .github/workflows/build.yml | 2 +- .github/workflows/lint.yml | 4 ++-- Dockerfile | 2 +- go.mod | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0947fd5..2b61758 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,5 +11,5 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.22.6' + go-version: '1.23' - run: 'go build ./cmd/lcp.go' diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b342ec5..f404d01 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.22.6' + go-version: '1.23' - uses: golangci/golangci-lint-action@v6 with: version: v1.59 @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.22.6' + go-version: '1.23' - run: | go mod tidy git diff --exit-code go.mod diff --git a/Dockerfile b/Dockerfile index 76fb094..8396513 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1 -FROM golang:1.22.6 AS build +FROM golang:1.23 AS build WORKDIR /src COPY . . diff --git a/go.mod b/go.mod index 286ebf2..152e701 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/gleich/lcp-v2 -go 1.22.6 +go 1.23 require ( github.com/buckket/go-blurhash v1.1.0