From 2ac576f123b488fa7595d9498bd81a1ca09e5fe3 Mon Sep 17 00:00:00 2001 From: Andreas Holstenson Date: Sat, 8 Jun 2024 18:53:31 +0200 Subject: [PATCH] build: Build with Go 1.22 --- .github/workflows/ci.yml | 8 ++++---- go.mod | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e391ddb..56b6b5c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: '1.20' + go-version: '1.22' - name: Run GoReleaser uses: goreleaser/goreleaser-action@v4 with: @@ -29,7 +29,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: '1.20' + go-version: '1.22' - uses: golangci/golangci-lint-action@v3 with: args: --timeout 3m @@ -42,7 +42,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: '1.20' + go-version: '1.22' - run: go test -v ./... release: @@ -56,7 +56,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: '1.20' + go-version: '1.22' - uses: go-semantic-release/action@v1 with: allow-initial-development-versions: true diff --git a/go.mod b/go.mod index f572e3f..e410c77 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/levelfourab/sprout-go -go 1.21 +go 1.22 toolchain go1.22.2