Update minimum required Go version to 1.17

This commit is contained in:
Hannes Braun 2023-08-12 21:37:55 +02:00 committed by nkanaev
parent a96fc101f2
commit 219842d723
6 changed files with 11 additions and 11 deletions

View File

@ -16,7 +16,7 @@ jobs:
- name: "Setup Go" - name: "Setup Go"
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: '^1.16' go-version: '^1.17'
- name: Cache Go Modules - name: Cache Go Modules
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
@ -43,7 +43,7 @@ jobs:
- name: "Setup Go" - name: "Setup Go"
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: '^1.16' go-version: '^1.17'
- name: Cache Go Modules - name: Cache Go Modules
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
@ -70,7 +70,7 @@ jobs:
- name: "Setup Go" - name: "Setup Go"
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: '^1.16' go-version: '^1.17'
- name: Cache Go Modules - name: Cache Go Modules
uses: actions/cache@v2 uses: actions/cache@v2
with: with:

View File

@ -1,6 +1,6 @@
## Compilation ## Compilation
Install `Go >= 1.16` and `GCC`. Get the source code: Install `Go >= 1.17` and `GCC`. Get the source code:
git clone https://github.com/nkanaev/yarr.git git clone https://github.com/nkanaev/yarr.git

4
go.mod
View File

@ -1,9 +1,11 @@
module github.com/nkanaev/yarr module github.com/nkanaev/yarr
go 1.16 go 1.17
require ( require (
github.com/mattn/go-sqlite3 v1.14.7 github.com/mattn/go-sqlite3 v1.14.7
golang.org/x/net v0.8.0 golang.org/x/net v0.8.0
golang.org/x/sys v0.6.0 golang.org/x/sys v0.6.0
) )
require golang.org/x/text v0.8.0 // indirect

View File

@ -1,3 +0,0 @@
module github.com/mattn/go-sqlite3
go 1.12

View File

7
vendor/modules.txt vendored
View File

@ -1,16 +1,17 @@
# github.com/mattn/go-sqlite3 v1.14.7 # github.com/mattn/go-sqlite3 v1.14.7
## explicit ## explicit; go 1.12
github.com/mattn/go-sqlite3 github.com/mattn/go-sqlite3
# golang.org/x/net v0.8.0 # golang.org/x/net v0.8.0
## explicit ## explicit; go 1.17
golang.org/x/net/html golang.org/x/net/html
golang.org/x/net/html/atom golang.org/x/net/html/atom
golang.org/x/net/html/charset golang.org/x/net/html/charset
# golang.org/x/sys v0.6.0 # golang.org/x/sys v0.6.0
## explicit ## explicit; go 1.17
golang.org/x/sys/internal/unsafeheader golang.org/x/sys/internal/unsafeheader
golang.org/x/sys/windows golang.org/x/sys/windows
# golang.org/x/text v0.8.0 # golang.org/x/text v0.8.0
## explicit; go 1.17
golang.org/x/text/encoding golang.org/x/text/encoding
golang.org/x/text/encoding/charmap golang.org/x/text/encoding/charmap
golang.org/x/text/encoding/htmlindex golang.org/x/text/encoding/htmlindex