Go bump to v1.21 to pick up slog

This commit is contained in:
Daniel Hiltgen 2024-01-18 11:51:34 -08:00
parent fedd705aea
commit ecbfc0182f
3 changed files with 6 additions and 6 deletions

View file

@ -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

View file

@ -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.
- <https://www.mingw-w64.org/>
- <https://www.msys2.org/>

2
go.mod
View file

@ -1,6 +1,6 @@
module github.com/jmorganca/ollama
go 1.20
go 1.21
require (
github.com/emirpasic/gods v1.18.1