From dd2a23ea427e519768881b0f98b3ec2d0a5f2207 Mon Sep 17 00:00:00 2001 From: appleboy Date: Sat, 31 Aug 2024 17:31:16 +0800 Subject: [PATCH] chore: bump Go version to 1.20 in workflow and modules - Update Go version in the workflow from a range including 1.18 to 1.23 to only include 1.20 to 1.23 - Change the Go version in the go.mod file from 1.18 to 1.20 Signed-off-by: appleboy --- .github/workflows/go.yml | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index bc6627c..ae9e0a6 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -39,7 +39,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest] - go: [1.18, 1.19, "1.20", 1.21, 1.22, 1.23] + go: ["1.20", 1.21, 1.22, 1.23] include: - os: ubuntu-latest go-build: ~/.cache/go-build diff --git a/go.mod b/go.mod index e3171d9..6f38085 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/golang-queue/queue -go 1.18 +go 1.20 require ( github.com/appleboy/com v0.1.7