Update Go and golangci-lint version

This commit is contained in:
Alexander Neumann 2021-08-09 10:48:38 +02:00
parent c36ae5fe03
commit bcbfff7b62
3 changed files with 4 additions and 5 deletions

View file

@ -15,6 +15,7 @@ jobs:
go:
- 1.14.x
- 1.15.x
- 1.16.x
runs-on: ubuntu-latest
name: Go ${{ matrix.go }}
@ -55,9 +56,7 @@ jobs:
uses: golangci/golangci-lint-action@v2
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.36
# Optional: show only new issues if it's a pull request. The default value is `false`.
only-new-issues: true
version: v1.41
args: --verbose --timeout 5m
- name: Check go.mod/go.sum

View file

@ -24,7 +24,7 @@ linters:
- govet
# make sure names and comments are used according to the conventions
- golint
- revive
# detect when assignments to existing variables are not used
- ineffassign

View file

@ -11,7 +11,7 @@ Rest Server is a high performance HTTP server that implements restic's [REST bac
## Requirements
Rest Server requires Go 1.11 or higher to build. The only tested compiler is the official Go compiler. Building server with `gccgo` may work, but is not supported.
Rest Server requires Go 1.14 or higher to build. The only tested compiler is the official Go compiler. Building server with `gccgo` may work, but is not supported.
The required version of restic backup client to use with `rest-server` is [v0.7.1](https://github.com/restic/restic/releases/tag/v0.7.1) or higher.