From a370ac0d553e02b27a1b500f3ec359ce1de0dd2d Mon Sep 17 00:00:00 2001 From: Alex Bice Date: Fri, 12 Jul 2024 15:20:04 -0700 Subject: [PATCH] test with go 1.22 --- .github/workflows/build_and_test.yml | 6 +++--- .github/workflows/release.yml | 2 +- .github/workflows/release_check.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 99a4776..d43355e 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -13,8 +13,8 @@ jobs: fail-fast: false matrix: go: - - "1.20" - "1.21" + - "1.22" name: run tests with go version ${{ matrix.go }} steps: - name: install go @@ -35,7 +35,7 @@ jobs: make cover - name: Coveralls - if: (matrix.go == '1.21') + if: (matrix.go == '1.22') env: COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }} run: | @@ -44,7 +44,7 @@ jobs: fi - name: Upload coverage - if: (matrix.go == '1.21') + if: (matrix.go == '1.22') uses: actions/upload-artifact@v4 with: name: coverage diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3dfc6b1..11118ff 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: ">=1.20.2" + go-version: ">=1.22.2" - name: Ensure Go run: go version diff --git a/.github/workflows/release_check.yml b/.github/workflows/release_check.yml index 498e0da..0252040 100644 --- a/.github/workflows/release_check.yml +++ b/.github/workflows/release_check.yml @@ -15,7 +15,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: ">=1.20.2" + go-version: ">=1.22.2" - name: Ensure Go run: go version