From de74abc941b195ce0e14048f9785acfeb0876008 Mon Sep 17 00:00:00 2001 From: Sebastien Binet Date: Mon, 12 Feb 2024 11:46:14 +0100 Subject: [PATCH] all: bump Go-1.22, drop Go-1.20 Signed-off-by: Sebastien Binet --- .github/workflows/ci.yml | 8 ++++---- .github/workflows/codecov.yml | 8 ++++---- .github/workflows/lint.yml | 2 +- go.mod | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 23e4d1df..83884611 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: name: Build strategy: matrix: - go-version: [1.21.x, 1.20.x] + go-version: [1.22.x, 1.21.x] platform: [ubuntu-20.04, macos-latest] runs-on: ${{ matrix.platform }} env: @@ -24,18 +24,18 @@ jobs: steps: - name: Install Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: ${{ env.GOPATH }}/src/gonum.org/v1/plot fetch-depth: 1 - name: Cache-Go - uses: actions/cache@v3 + uses: actions/cache@v4 with: # In order: # * Module download cache diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 00042e69..7fdf2170 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -13,7 +13,7 @@ jobs: if: github.event.pull_request.merged == true strategy: matrix: - go-version: [1.21.x] + go-version: [1.22.x] platform: [ubuntu-latest] runs-on: ${{ matrix.platform }} @@ -26,17 +26,17 @@ jobs: steps: - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: path: ${{ env.GOPATH }}/src/gonum.org/v1/plot - name: Cache-Go - uses: actions/cache@v2 + uses: actions/cache@v4 with: # In order: # * Module download cache diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c8d79459..d26a8247 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,7 +12,7 @@ jobs: DISPLAY: ":99.0" EGL_PLATFORM: "x11" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 1 - name: cgo-dependencies diff --git a/go.mod b/go.mod index 74c44a87..ca284f99 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module gonum.org/v1/plot -go 1.20 +go 1.21 require ( gioui.org v0.2.0