switch to go 1.16

This commit is contained in:
aler9 2021-06-19 18:59:33 +02:00
parent 64273b9682
commit f36951a5c1
8 changed files with 9 additions and 7 deletions

View File

@ -28,6 +28,8 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.16"
- run: |
go mod download

View File

@ -17,7 +17,7 @@ jobs:
- uses: actions/setup-go@v2
with:
go-version: "1.15"
go-version: "1.16"
- run: sudo apt-get install -y --no-install-recommends ffmpeg

View File

@ -1,5 +1,5 @@
BASE_IMAGE = golang:1.15-alpine3.12
BASE_IMAGE = golang:1.16-alpine3.13
LINT_IMAGE = golangci/golangci-lint:v1.38.0
.PHONY: $(shell ls)

View File

@ -557,7 +557,7 @@ Args:
### Compile and run from source
Install Go 1.15, download the repository, open a terminal in it and run:
Install Go 1.16, download the repository, open a terminal in it and run:
```
go run .

View File

@ -1,4 +1,4 @@
FROM golang:1.15-alpine3.12
FROM golang:1.16-alpine3.12
RUN apk add --no-cache \
ffmpeg

View File

@ -1,4 +1,4 @@
FROM golang:1.15-alpine3.12
FROM golang:1.16-alpine3.12
RUN apk add --no-cache \
ffmpeg

View File

@ -1,4 +1,4 @@
FROM golang:1.15-alpine3.12
FROM golang:1.16-alpine3.12
RUN apk add --no-cache \
ffmpeg

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/aler9/rtsp-simple-server
go 1.15
go 1.16
require (
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect