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 <[email protected]>
  • Loading branch information
sbinet committed Apr 30, 2024
1 parent 342a5ce commit b4fdc26
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 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
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
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 b4fdc26

Please sign in to comment.