From 295535c9a3fa59ce9d0cb19677ee46ab26d1957e Mon Sep 17 00:00:00 2001 From: David Finkel Date: Tue, 9 Apr 2024 18:05:51 -0400 Subject: [PATCH] actions: add go 1.21 and 1.22 --- .github/workflows/go.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index af91c8ab..b8730f6b 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -7,7 +7,7 @@ jobs: strategy: matrix: os: [macOS-latest, ubuntu-latest] - goversion: [1.17, 1.18, '1.19', '1.20'] + goversion: [1.17, 1.18, '1.19', '1.20', '1.21', '1.22'] steps: - name: Set up Go ${{matrix.goversion}} on ${{matrix.os}} uses: actions/setup-go@v3 @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@v1 - name: gofmt - if: ${{matrix.goversion == '1.20'}} + if: ${{matrix.goversion == '1.22'}} run: | [[ -z $(gofmt -l $(find . -name '*.go') ) ]]