mirror of
https://github.com/bluenviron/mediamtx
synced 2025-01-13 10:26:34 +00:00
switch to go 1.16
This commit is contained in:
parent
64273b9682
commit
f36951a5c1
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@ -28,6 +28,8 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: "1.16"
|
||||
|
||||
- run: |
|
||||
go mod download
|
||||
|
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -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
|
||||
|
||||
|
2
Makefile
2
Makefile
@ -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)
|
||||
|
@ -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 .
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM golang:1.15-alpine3.12
|
||||
FROM golang:1.16-alpine3.12
|
||||
|
||||
RUN apk add --no-cache \
|
||||
ffmpeg
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM golang:1.15-alpine3.12
|
||||
FROM golang:1.16-alpine3.12
|
||||
|
||||
RUN apk add --no-cache \
|
||||
ffmpeg
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM golang:1.15-alpine3.12
|
||||
FROM golang:1.16-alpine3.12
|
||||
|
||||
RUN apk add --no-cache \
|
||||
ffmpeg
|
||||
|
Loading…
Reference in New Issue
Block a user