From 261d5dee88766757db663afc0a3f1d157e47ea13 Mon Sep 17 00:00:00 2001 From: Tetsuya Morimoto Date: Fri, 11 Aug 2023 10:24:55 +0900 Subject: [PATCH] add go 1.20/1.21 build/testing for github workflow --- .github/workflows/tests.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 669dc02..d655aad 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,7 +15,14 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest, macos-latest] - go: ['1.16', '1.17', '1.18', '1.19'] + go: [ + '1.16', + '1.17', + '1.18', + '1.19', + '1.20', + '1.21', + ] include: # Set the minimum Go patch version for the given Go minor - go: '1.16' @@ -26,6 +33,10 @@ jobs: GO_VERSION: '~1.18.0' - go: '1.19' GO_VERSION: '~1.19.0' + - go: '1.20' + GO_VERSION: '~1.20.0' + - go: '1.21' + GO_VERSION: '~1.21.0' runs-on: ${{ matrix.os }} steps: @@ -66,4 +77,4 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: true - verbose: true \ No newline at end of file + verbose: true