diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6dd63049..cf308afe 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -15,7 +15,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v1 with: - go-version: 1.18.x + go-version: 1.22.x - name: Run GoReleaser uses: goreleaser/goreleaser-action@v4 with: diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 4a08d814..a7bc0702 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -22,7 +22,7 @@ jobs: - name: Setup go uses: actions/setup-go@v2 with: - go-version: 1.18.x + go-version: 1.22.x - name: Checkout code uses: actions/checkout@v2 - run: go install gotest.tools/gotestsum@latest diff --git a/.golangci.yaml b/.golangci.yaml index 0d9ce14c..4df3d2a8 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -1,6 +1,6 @@ run: tests: false - go: 1.18 + go: 1.22 linters: enable-all: true diff --git a/Dockerfile b/Dockerfile index 84d2b9f4..179101fa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.18.3-bullseye as builder +FROM golang:1.22.4-bookworm as builder ENV GOPROXY https://proxy.golang.org WORKDIR /app diff --git a/go.mod b/go.mod index 8902fd20..bfcb8aab 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/lets-cli/lets -go 1.18 +go 1.22 require ( github.com/codeclysm/extract v2.2.0+incompatible