Skip to content

Commit

Permalink
all: bump Go-1.22, drop Go-1.20
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastien Binet <binet@cern.ch>
  • Loading branch information
sbinet committed Feb 12, 2024
1 parent 342a5ce commit de74abc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module gonum.org/v1/plot

go 1.20
go 1.21

require (
gioui.org v0.2.0
Expand Down

0 comments on commit de74abc

Please sign in to comment.