From c5f33400e81d271b39bb4bc269ff538ea3f2132c 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 | 4 ++-- go.mod | 2 +- 4 files changed, 11 insertions(+), 11 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..579fbc3f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,13 +12,13 @@ jobs: DISPLAY: ":99.0" EGL_PLATFORM: "x11" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 1 - name: cgo-dependencies run: | sudo apt-get update sudo apt-get install -qq gcc pkg-config libwayland-dev libx11-dev libx11-xcb-dev libxkbcommon-x11-dev libgles2-mesa-dev libegl1-mesa-dev libffi-dev libxcursor-dev libvulkan-dev xvfb xdotool - - uses: dominikh/staticcheck-action@v1.3.0 + - uses: dominikh/staticcheck-action@v1 with: version: "2023.1" 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