Skip to content

Commit b4fdc26

Browse files
committed
all: bump Go-1.22, drop Go-1.20
Signed-off-by: Sebastien Binet <binet@cern.ch>
1 parent 342a5ce commit b4fdc26

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
name: Build
1111
strategy:
1212
matrix:
13-
go-version: [1.21.x, 1.20.x]
13+
go-version: [1.22.x, 1.21.x]
1414
platform: [ubuntu-20.04, macos-latest]
1515
runs-on: ${{ matrix.platform }}
1616
env:
@@ -24,18 +24,18 @@ jobs:
2424

2525
steps:
2626
- name: Install Go
27-
uses: actions/setup-go@v3
27+
uses: actions/setup-go@v5
2828
with:
2929
go-version: ${{ matrix.go-version }}
3030

3131
- name: Checkout code
32-
uses: actions/checkout@v3
32+
uses: actions/checkout@v4
3333
with:
3434
path: ${{ env.GOPATH }}/src/gonum.org/v1/plot
3535
fetch-depth: 1
3636

3737
- name: Cache-Go
38-
uses: actions/cache@v3
38+
uses: actions/cache@v4
3939
with:
4040
# In order:
4141
# * Module download cache

.github/workflows/codecov.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
if: github.event.pull_request.merged == true
1414
strategy:
1515
matrix:
16-
go-version: [1.21.x]
16+
go-version: [1.22.x]
1717
platform: [ubuntu-latest]
1818

1919
runs-on: ${{ matrix.platform }}
@@ -26,17 +26,17 @@ jobs:
2626

2727
steps:
2828
- name: Install Go
29-
uses: actions/setup-go@v2
29+
uses: actions/setup-go@v5
3030
with:
3131
go-version: ${{ matrix.go-version }}
3232

3333
- name: Checkout code
34-
uses: actions/checkout@v2
34+
uses: actions/checkout@v4
3535
with:
3636
path: ${{ env.GOPATH }}/src/gonum.org/v1/plot
3737

3838
- name: Cache-Go
39-
uses: actions/cache@v2
39+
uses: actions/cache@v4
4040
with:
4141
# In order:
4242
# * Module download cache

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
DISPLAY: ":99.0"
1313
EGL_PLATFORM: "x11"
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v4
1616
with:
1717
fetch-depth: 1
1818
- name: cgo-dependencies
1919
run: |
2020
sudo apt-get update
2121
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
22-
- uses: dominikh/staticcheck-action@v1.3.0
22+
- uses: dominikh/staticcheck-action@v1
2323
with:
2424
version: "2023.1"

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module gonum.org/v1/plot
22

3-
go 1.20
3+
go 1.21
44

55
require (
66
gioui.org v0.2.0

0 commit comments

Comments
 (0)