mirror of
https://github.com/restic/restic.git
synced 2025-01-03 05:35:43 +00:00
Require Go 1.15 or later
The library github.com/golang-jwt/jwt/v4 requires the FillByte() method of *big.Int, so we're raising the minimum Go version to 1.15.
This commit is contained in:
parent
89d86a7933
commit
66d50b72e3
5 changed files with 11 additions and 10 deletions
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
|
@ -55,12 +55,6 @@ jobs:
|
||||||
test_fuse: true
|
test_fuse: true
|
||||||
install_verb: get
|
install_verb: get
|
||||||
|
|
||||||
- job_name: Linux
|
|
||||||
go: 1.14.x
|
|
||||||
os: ubuntu-latest
|
|
||||||
test_fuse: true
|
|
||||||
install_verb: get
|
|
||||||
|
|
||||||
name: ${{ matrix.job_name }} Go ${{ matrix.go }}
|
name: ${{ matrix.job_name }} Go ${{ matrix.go }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
|
|
|
@ -66,8 +66,8 @@ Development Environment
|
||||||
The repository contains the code written for restic in the directories
|
The repository contains the code written for restic in the directories
|
||||||
`cmd/` and `internal/`.
|
`cmd/` and `internal/`.
|
||||||
|
|
||||||
Restic requires Go version 1.14 or later for compiling. Clone the repo (without
|
Make sure you have the minimum required Go version installed. Clone the repo
|
||||||
having `$GOPATH` set) and `cd` into the directory:
|
(without having `$GOPATH` set) and `cd` into the directory:
|
||||||
|
|
||||||
$ unset GOPATH
|
$ unset GOPATH
|
||||||
$ git clone https://github.com/restic/restic
|
$ git clone https://github.com/restic/restic
|
||||||
|
|
7
changelog/unreleased/pr-3680
Normal file
7
changelog/unreleased/pr-3680
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
Change: Update dependencies and require Go 1.15 or newer
|
||||||
|
|
||||||
|
We've updated most dependencies. Since some libraries require newer language
|
||||||
|
features we're dropping support for Go 1.14 and restic now requires at least Go
|
||||||
|
1.15 to build.
|
||||||
|
|
||||||
|
https://github.com/restic/restic/issues/3680
|
|
@ -274,7 +274,7 @@ From Source
|
||||||
***********
|
***********
|
||||||
|
|
||||||
restic is written in the Go programming language and you need at least
|
restic is written in the Go programming language and you need at least
|
||||||
Go version 1.14. Building restic may also work with older versions of Go,
|
Go version 1.15. Building restic may also work with older versions of Go,
|
||||||
but that's not supported. See the `Getting
|
but that's not supported. See the `Getting
|
||||||
started <https://golang.org/doc/install>`__ guide of the Go project for
|
started <https://golang.org/doc/install>`__ guide of the Go project for
|
||||||
instructions how to install Go.
|
instructions how to install Go.
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -51,4 +51,4 @@ require (
|
||||||
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
|
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
|
||||||
)
|
)
|
||||||
|
|
||||||
go 1.14
|
go 1.15
|
||||||
|
|
Loading…
Reference in a new issue