mirror of
https://github.com/aler9/rtsp-simple-server
synced 2025-12-24 11:51:18 +08:00
bump Golang to 1.25 (#4870)
This commit is contained in:
4
.github/workflows/code_lint.yml
vendored
4
.github/workflows/code_lint.yml
vendored
@@ -17,7 +17,7 @@ jobs:
|
||||
|
||||
- uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version: "1.24"
|
||||
go-version: "1.25"
|
||||
|
||||
- run: go generate ./...
|
||||
|
||||
@@ -33,7 +33,7 @@ jobs:
|
||||
|
||||
- uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version: "1.24"
|
||||
go-version: "1.25"
|
||||
|
||||
- run: make lint-go-mod
|
||||
|
||||
|
||||
2
.github/workflows/code_test.yml
vendored
2
.github/workflows/code_test.yml
vendored
@@ -41,6 +41,6 @@ jobs:
|
||||
|
||||
- uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version: "1.24"
|
||||
go-version: "1.25"
|
||||
|
||||
- run: make test-e2e-nodocker
|
||||
|
||||
4
Makefile
4
Makefile
@@ -1,6 +1,6 @@
|
||||
BASE_IMAGE = golang:1.24-alpine3.20
|
||||
BASE_IMAGE = golang:1.25-alpine3.22
|
||||
GOLANGCI_LINT_IMAGE = golangci/golangci-lint:v2.4.0
|
||||
NODE_IMAGE = node:20-alpine3.20
|
||||
NODE_IMAGE = node:20-alpine3.22
|
||||
|
||||
.PHONY: $(shell ls)
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ ADD binaries/mediamtx_*_linux_armv7.tar.gz /linux/arm/v7
|
||||
ADD binaries/mediamtx_*_linux_arm64.tar.gz /linux/arm64
|
||||
|
||||
#################################################################
|
||||
FROM alpine:3.20
|
||||
FROM alpine:3.22
|
||||
|
||||
RUN apk add --no-cache ffmpeg
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
## Standard method
|
||||
|
||||
Install git and Go ≥ 1.24. Clone the repository, enter into the folder and start the building process:
|
||||
Install git and Go ≥ 1.25. Clone the repository, enter into the folder and start the building process:
|
||||
|
||||
```sh
|
||||
git clone https://github.com/bluenviron/mediamtx
|
||||
@@ -59,7 +59,7 @@ If you need to use a custom or external libcamera when interacting with the Rasp
|
||||
|
||||
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.24. 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.25. Clone the repository, enter into the folder and start the building process:
|
||||
|
||||
```sh
|
||||
git clone https://github.com/bluenviron/mediamtx
|
||||
|
||||
Reference in New Issue
Block a user