Skip to content

Commit

Permalink
bump Golang to 1.20 (bluenviron#1602)
Browse files Browse the repository at this point in the history
  • Loading branch information
aler9 authored Mar 25, 2023
1 parent 5ffe8b2 commit 853fd42
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- uses: actions/setup-go@v2
with:
go-version: "1.19"
go-version: "1.20"

- run: |
go mod tidy
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions/setup-go@v2
with:
go-version: "1.19"
go-version: "1.20"

- run: |
sed -i '/gortsplib/d' go.mod
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ jobs:

- uses: actions/setup-go@v2
with:
go-version: "1.19"
go-version: "1.20"

- run: make test-highlevel-nodocker
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
BASE_IMAGE = golang:1.19-alpine3.17
BASE_IMAGE = golang:1.20-alpine3.17
LINT_IMAGE = golangci/golangci-lint:v1.50.1
NODE_IMAGE = node:16-alpine3.17
RPI32_IMAGE = balenalib/raspberry-pi:bullseye-run
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ go tool pprof -text http://localhost:9999/debug/pprof/profile?seconds=30

#### Standard

Install Go ≥ 1.19, download the repository, open a terminal in it and run:
Install Go ≥ 1.20, download the repository, open a terminal in it and run:

```sh
go build .
Expand All @@ -573,7 +573,7 @@ The command will produce the `rtsp-simple-server` binary.

#### Raspberry Pi

In case of a Raspberry Pi, the server can be compiled with native support for the Raspberry Pi Camera. Install Go ≥ 1.19, download the repository, open a terminal in it and run:
In case of a Raspberry Pi, the server can be compiled with native support for the Raspberry Pi Camera. Install Go ≥ 1.20, download the repository, open a terminal in it and run:

```sh
cd internal/rpicamera/exe
Expand Down
2 changes: 1 addition & 1 deletion bench/proxy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19-alpine3.17
FROM golang:1.20-alpine3.17

RUN apk add --no-cache \
ffmpeg
Expand Down
2 changes: 1 addition & 1 deletion bench/publish/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19-alpine3.17
FROM golang:1.20-alpine3.17

RUN apk add --no-cache \
ffmpeg
Expand Down
2 changes: 1 addition & 1 deletion bench/read/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.19-alpine3.17
FROM golang:1.20-alpine3.17

RUN apk add --no-cache \
ffmpeg
Expand Down
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/aler9/rtsp-simple-server

go 1.19
go 1.20

require (
code.cloudfoundry.org/bytefmt v0.0.0
Expand Down

0 comments on commit 853fd42

Please sign in to comment.