mirror of
https://github.com/bluenviron/mediamtx
synced 2025-02-26 00:20:36 +00:00
bump Go to 1.22 (#3279)
This commit is contained in:
parent
6513f05bb6
commit
9e636308d9
4
.github/workflows/code_lint.yml
vendored
4
.github/workflows/code_lint.yml
vendored
@ -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
|
||||
|
2
.github/workflows/code_test.yml
vendored
2
.github/workflows/code_test.yml
vendored
@ -35,6 +35,6 @@ jobs:
|
||||
|
||||
- uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: "1.21"
|
||||
go-version: "1.22"
|
||||
|
||||
- run: make test-highlevel-nodocker
|
||||
|
2
Makefile
2
Makefile
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user