From c7c810bdde340a8aaa17d5ce7c94c2a1f5542c21 Mon Sep 17 00:00:00 2001 From: wolf <7438385+wolf29f@users.noreply.github.com> Date: Thu, 12 Sep 2024 14:31:19 +0200 Subject: [PATCH] fix: allow patch version in go.mod --- .github/workflows/integration.yml | 2 +- Dockerfile | 2 +- go.mod | 10 +++++----- go.sum | 11 ++++------- 4 files changed, 11 insertions(+), 14 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index af16736..8f534c3 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -12,5 +12,5 @@ jobs: modfile: go.mod - name: Check outputs run: | - test "${{ steps.selftest.outputs.go_version }}" == "1.20" + test "${{ steps.selftest.outputs.go_version }}" == "1.22.0" test "${{ steps.selftest.outputs.go_module }}" == "github.com/pawndev/go-modfile-information" diff --git a/Dockerfile b/Dockerfile index ac67bfa..040255c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.20 as builder +FROM golang:1.22 as builder WORKDIR /app COPY . /app diff --git a/go.mod b/go.mod index c8e432f..e0f3d8f 100644 --- a/go.mod +++ b/go.mod @@ -1,10 +1,10 @@ module github.com/pawndev/go-modfile-information -go 1.20 +go 1.22.0 + +toolchain go1.23.0 require ( - github.com/sethvargo/go-githubactions v1.1.0 - golang.org/x/mod v0.9.0 + github.com/sethvargo/go-githubactions v1.3.0 + golang.org/x/mod v0.21.0 ) - -require github.com/sethvargo/go-envconfig v0.8.0 // indirect diff --git a/go.sum b/go.sum index 42688f6..92d5e2d 100644 --- a/go.sum +++ b/go.sum @@ -1,7 +1,4 @@ -github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg= -github.com/sethvargo/go-envconfig v0.8.0 h1:AcmdAewSFAc7pQ1Ghz+vhZkilUtxX559QlDuLLiSkdI= -github.com/sethvargo/go-envconfig v0.8.0/go.mod h1:Iz1Gy1Sf3T64TQlJSvee81qDhf7YIlt8GMUX6yyNFs0= -github.com/sethvargo/go-githubactions v1.1.0 h1:mg03w+b+/s5SMS298/2G6tHv8P0w0VhUFaqL1THIqzY= -github.com/sethvargo/go-githubactions v1.1.0/go.mod h1:qIboSF7yq2Qnaw2WXDsqCReM0Lo1gU4QXUWmhBC3pxE= -golang.org/x/mod v0.9.0 h1:KENHtAZL2y3NLMYZeHY9DW8HW8V+kQyJsY/V9JlKvCs= -golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +github.com/sethvargo/go-githubactions v1.3.0 h1:Kg633LIUV2IrJsqy2MfveiED/Ouo+H2P0itWS0eLh8A= +github.com/sethvargo/go-githubactions v1.3.0/go.mod h1:7/4WeHgYfSz9U5vwuToCK9KPnELVHAhGtRwLREOQV80= +golang.org/x/mod v0.21.0 h1:vvrHzRwRfVKSiLrG+d4FMl/Qi4ukBCE6kZlTUkDYRT0= +golang.org/x/mod v0.21.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY=