Skip to content

Commit

Permalink
Merge pull request #267 from MichaelEischer/require-go-1.18
Browse files Browse the repository at this point in the history
Bump require go version to 1.18
  • Loading branch information
MichaelEischer authored Jan 6, 2024
2 parents c615b9d + 04418c7 commit f36b650
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 522 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ on:
pull_request:

env:
latest_go: "1.20.x"
latest_go: "1.21.x"
GO111MODULE: on

jobs:
test:
strategy:
matrix:
go:
- 1.17.x
- 1.18.x
- 1.19.x
- 1.20.x
- 1.21.x
runs-on: ubuntu-latest
name: Go ${{ matrix.go }}

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Rest Server is a high performance HTTP server that implements restic's [REST bac

## Requirements

Rest Server requires Go 1.17 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.18 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.

Expand Down
7 changes: 7 additions & 0 deletions changelog/unreleased/pull-267
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Change: Update dependencies and require Go 1.18 or newer

Most dependencies have been updated. Since some libraries require newer language
features, support for Go 1.17 has been dropped, which means that rest-server
now requires at least Go 1.18 to build.

https://github.com/restic/rest-server/pull/267
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/restic/rest-server

go 1.17
go 1.18

require (
github.com/coreos/go-systemd/v22 v22.5.0
Expand Down
Loading

0 comments on commit f36b650

Please sign in to comment.