From bcbfff7b625f0d8ff8464a2582634ae7c2b64db9 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Mon, 9 Aug 2021 10:48:38 +0200 Subject: [PATCH] Update Go and golangci-lint version --- .github/workflows/tests.yml | 5 ++--- .golangci.yml | 2 +- README.md | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 41a3c44..7d9d6c4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 diff --git a/.golangci.yml b/.golangci.yml index 55ad1a2..22c588a 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -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 diff --git a/README.md b/README.md index d8fc99d..4884496 100644 --- a/README.md +++ b/README.md @@ -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.