From 70daae2a7ff60c3f500cd35f5e767431af7790d7 Mon Sep 17 00:00:00 2001 From: Jacek Olszak Date: Sat, 29 Jul 2023 23:41:32 +0200 Subject: [PATCH] Require Go 1.21 as minimal version of Go --- .github/workflows/build.yml | 2 +- README.md | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ca019ff..e35e755 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - go: [ 1.18 ] + go: [ 1.21 ] env: DISPLAY: ':99.0' steps: diff --git a/README.md b/README.md index 87d1643..a011211 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ Pi is under development. Only limited functionality is provided. API is not stab ## How to get started? 1. Install dependencies - * [Go 1.18+](https://go.dev/dl/) + * [Go 1.21+](https://go.dev/dl/) * If not on Windows, please install additional dependencies for [Linux](docs/install-linux.md) or [macOS](docs/install-macos.md). 2. Try examples from [examples](examples) directory. 3. Create a new game using provided [Github template](https://github.com/elgopher/pi-template). diff --git a/go.mod b/go.mod index 0ccccf5..d6ead83 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/elgopher/pi -go 1.18 +go 1.21 require ( github.com/hajimehoshi/ebiten/v2 v2.5.6