fix!: require Go 1.17
This commit is contained in:
parent
d169aaf137
commit
bf3a7a61bf
|
@ -25,8 +25,8 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.16
|
||||
|
||||
go-version: 1.17
|
||||
|
||||
- name: Get dependencies
|
||||
run: go get -v -t -d ./...
|
||||
|
||||
|
@ -54,4 +54,3 @@ jobs:
|
|||
with:
|
||||
commit_message: update production style.css
|
||||
file_pattern: web/assets/style.css
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# SPDX-License-Identifier: Unlicense
|
||||
|
||||
FROM golang:1.16-alpine
|
||||
FROM golang:1.17-alpine
|
||||
|
||||
RUN apk add --no-cache \
|
||||
build-base \
|
||||
|
|
|
@ -22,7 +22,7 @@ After running `sudo dpkg -i go-ssb-room_v1.2.3_Linux_x86_64.deb` pay special att
|
|||
|
||||
## Creating a build
|
||||
|
||||
* [Download Go](https://golang.org/doc/install) & [set up your Go environment](https://golang.org/doc/install#install). You will need at least Go v1.16.
|
||||
* [Download Go](https://golang.org/doc/install) & [set up your Go environment](https://golang.org/doc/install#install). You will need at least Go v1.17.
|
||||
* Download the repository `git clone git@github.com:ssbc/go-ssb-room.git && cd go-ssb-room`
|
||||
* [Follow the development instructions](./development.md)
|
||||
* You should now have a working go-ssb-room binary! Read the HTTP Hosting section below and admin
|
||||
|
@ -163,6 +163,8 @@ If you installed the Debian package, you will first need to install Go to build
|
|||
sudo apt-get install golang-go
|
||||
```
|
||||
|
||||
(**WARNING**: please check that `golang-go` is >= 1.17 and if not, you may need to use the [official installation documentation](https://go.dev/dl/) instead. `go-ssb-room` requires at least Go 1.17.)
|
||||
|
||||
In a new terminal window navigate to the insert-user utility folder and compile the GO-based utility into an executable your computer can use
|
||||
|
||||
```
|
||||
|
|
|
@ -6,7 +6,7 @@ SPDX-License-Identifier: CC0-1.0
|
|||
|
||||
## Development notes
|
||||
|
||||
To get started, you need a recent version of [Go](https://golang.org). v1.16 and onward should be sufficient.
|
||||
To get started, you need a recent version of [Go](https://golang.org). v1.17 and onward should be sufficient.
|
||||
|
||||
Also, if you want to develop the CSS and HTML on the website, you need Node.js v14 in order to compile Tailwind.
|
||||
|
||||
|
|
Loading…
Reference in New Issue