From efe2442bb402fb6e01502a0850e63d76e7935c84 Mon Sep 17 00:00:00 2001 From: Aurora Gaffney Date: Mon, 19 Aug 2024 18:03:00 -0500 Subject: [PATCH] chore: update to Go 1.22 --- .github/workflows/go-test.yml | 2 +- .github/workflows/golangci-lint.yml | 2 +- .github/workflows/publish.yml | 2 +- go.mod | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go-test.yml b/.github/workflows/go-test.yml index f4ac486..6a06917 100644 --- a/.github/workflows/go-test.yml +++ b/.github/workflows/go-test.yml @@ -13,7 +13,7 @@ jobs: name: go-test strategy: matrix: - go-version: [1.21.x, 1.22.x] + go-version: [1.22.x, 1.23.x] # XXX: is it actually useful to run unit tests on macOS? platform: [ubuntu-latest, macos-latest] runs-on: ${{ matrix.platform }} diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 136a976..5e0c06d 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: 1.21.x + go-version: 1.22.x cache: false - name: golangci-lint uses: golangci/golangci-lint-action@v6 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a782eb2..ac9b3e2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -50,7 +50,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: 1.21.x + go-version: 1.22.x - name: Build binary run: GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} make build - name: Upload release asset diff --git a/go.mod b/go.mod index dcf7653..69a47d4 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/blinklabs-io/cdnsd -go 1.21 +go 1.22 require ( github.com/blinklabs-io/adder v0.23.1