From 8d9a691651dbbd46224d14e84cf0e3a6ff54d335 Mon Sep 17 00:00:00 2001 From: Matt Gleich Date: Tue, 13 Aug 2024 14:43:46 -0400 Subject: [PATCH] feat: upgrade to go 1.23 Signed-off-by: Matt Gleich --- .github/workflows/build.yml | 2 +- .github/workflows/lint.yml | 9 +++------ Dockerfile | 2 +- go.mod | 2 +- 4 files changed, 6 insertions(+), 9 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..5a91996 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,8 +21,5 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.22.6' - - run: | - go mod tidy - git diff --exit-code go.mod - git diff --exit-code go.sum + go-version: '1.23' + - run: go mod tidy -diff 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