From 0b1d8e01f80020ebc8f97c3d938b95bf7580685e Mon Sep 17 00:00:00 2001 From: Harald Nordgren Date: Wed, 24 Jul 2024 13:51:39 +0200 Subject: [PATCH 1/4] .github/test.yml: Run tests on latest supported Go versions --- .github/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7c68745..e822677 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,13 +14,13 @@ jobs: strategy: matrix: os: [ubuntu-latest] - go-version: [1.18.x, 1.19.x] + go-version: [1.21.x, 1.22.x] # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-expanding-configurations include: - os: windows-latest - go-version: 1.19.x + go-version: 1.22.x - os: macos-latest - go-version: 1.19.x + go-version: 1.22.x steps: - name: Checkout code From d65609fb0b28b35eaedab9fb2a22354cf008e30f Mon Sep 17 00:00:00 2001 From: Harald Nordgren Date: Wed, 24 Jul 2024 11:54:01 +0000 Subject: [PATCH 2/4] Update Go version --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 217b0b5..c404073 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.19 + go-version: 1.22 cache: true check-latest: true From 0edb7ca2decc2deefb66edc917eb03477a1376f8 Mon Sep 17 00:00:00 2001 From: Harald Nordgren Date: Thu, 25 Jul 2024 15:43:20 +0200 Subject: [PATCH 3/4] Apply suggestions from code review Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com> --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e822677..591af98 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - go-version: [1.21.x, 1.22.x] + go-version: [oldstable, stable] # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-expanding-configurations include: - os: windows-latest From aeef4c8f1d46fd7b8ad9f3bea1314892022daa07 Mon Sep 17 00:00:00 2001 From: Harald Nordgren Date: Thu, 25 Jul 2024 16:19:46 +0200 Subject: [PATCH 4/4] Update test.yml --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 591af98..ef88ec3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,9 +18,9 @@ jobs: # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-expanding-configurations include: - os: windows-latest - go-version: 1.22.x + go-version: stable - os: macos-latest - go-version: 1.22.x + go-version: stable steps: - name: Checkout code