diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index 3d180a166..9a9696c71 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
- go-version: '1.20'
+ go-version: '1.21'
cache: true
- if: ${{ startsWith(matrix.os, 'windows-') }}
shell: pwsh
@@ -67,7 +67,7 @@ jobs:
submodules: recursive
- uses: actions/setup-go@v4
with:
- go-version: '1.20'
+ go-version: '1.21'
cache: false
- uses: actions/download-artifact@v4
with:
@@ -95,7 +95,7 @@ jobs:
submodules: recursive
- uses: actions/setup-go@v4
with:
- go-version: '1.20'
+ go-version: '1.21'
cache: true
- run: go get
- uses: actions/download-artifact@v4
diff --git a/docs/development.md b/docs/development.md
index 86c5f2db7..03d35d04d 100644
--- a/docs/development.md
+++ b/docs/development.md
@@ -3,7 +3,7 @@
Install required tools:
- cmake version 3.24 or higher
-- go version 1.20 or higher
+- go version 1.21 or higher
- gcc version 11.4.0 or higher
```bash
@@ -104,7 +104,7 @@ Note: The windows build for Ollama is still under development.
Install required tools:
- MSVC toolchain - C/C++ and cmake as minimal requirements
-- go version 1.20 or higher
+- go version 1.21 or higher
- MinGW (pick one variant) with GCC.
-
-
diff --git a/go.mod b/go.mod
index 0efefe2f9..57ec24959 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
module github.com/jmorganca/ollama
-go 1.20
+go 1.21
require (
github.com/emirpasic/gods v1.18.1