bump Go to 1.22 (#3279)

This commit is contained in:
Alessandro Ros 2024-04-21 11:12:14 +02:00 committed by GitHub
parent 6513f05bb6
commit 9e636308d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 8 additions and 8 deletions

View File

@ -15,7 +15,7 @@ jobs:
- uses: actions/setup-go@v3
with:
go-version: "1.21"
go-version: "1.22"
- run: touch internal/servers/hls/hls.min.js
@ -31,7 +31,7 @@ jobs:
- uses: actions/setup-go@v2
with:
go-version: "1.21"
go-version: "1.22"
- run: |
go mod tidy

View File

@ -35,6 +35,6 @@ jobs:
- uses: actions/setup-go@v2
with:
go-version: "1.21"
go-version: "1.22"
- run: make test-highlevel-nodocker

View File

@ -1,4 +1,4 @@
BASE_IMAGE = golang:1.21-alpine3.19
BASE_IMAGE = golang:1.22-alpine3.19
LINT_IMAGE = golangci/golangci-lint:v1.56.2
NODE_IMAGE = node:20-alpine3.19
ALPINE_IMAGE = alpine:3.19

View File

@ -1992,7 +1992,7 @@ Be aware that RTMPS is currently unsupported by all major players. However, you
### Standard
Install git and Go ≥ 1.21. Clone the repository, enter into the folder and start the building process:
Install git and Go ≥ 1.22. Clone the repository, enter into the folder and start the building process:
```sh
git clone https://github.com/bluenviron/mediamtx
@ -2007,7 +2007,7 @@ The command will produce the `mediamtx` binary.
The server can be compiled with native support for the Raspberry Pi Camera. Compilation must be performed on a Raspberry Pi, with the following dependencies:
* Go ≥ 1.21
* Go ≥ 1.22
* `libcamera-dev`
* `libfreetype-dev`
* `xxd`
@ -2050,7 +2050,7 @@ If the OpenWrt device doesn't have enough resources to compile, you can [cross c
Cross compilation allows to build an executable for a target machine from another machine with different operating system or architecture. This is useful in case the target machine doesn't have enough resources for compilation or if you don't want to install the compilation dependencies on it.
On the machine you want to use to compile, install git and Go ≥ 1.21. Clone the repository, enter into the folder and start the building process:
On the machine you want to use to compile, install git and Go ≥ 1.22. Clone the repository, enter into the folder and start the building process:
```sh
git clone https://github.com/bluenviron/mediamtx

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/bluenviron/mediamtx
go 1.21
go 1.22
require (
code.cloudfoundry.org/bytefmt v0.0.0