bump Golang to 1.25 (#4870)

This commit is contained in:
bluenviron-bot 2025-09-12 10:20:19 +02:00 committed by GitHub
parent 5542f3d88b
commit aadbd9272e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 9 additions and 9 deletions

View file

@ -17,7 +17,7 @@ jobs:
- uses: actions/setup-go@v6 - uses: actions/setup-go@v6
with: with:
go-version: "1.24" go-version: "1.25"
- run: go generate ./... - run: go generate ./...
@ -33,7 +33,7 @@ jobs:
- uses: actions/setup-go@v6 - uses: actions/setup-go@v6
with: with:
go-version: "1.24" go-version: "1.25"
- run: make lint-go-mod - run: make lint-go-mod

View file

@ -41,6 +41,6 @@ jobs:
- uses: actions/setup-go@v6 - uses: actions/setup-go@v6
with: with:
go-version: "1.24" go-version: "1.25"
- run: make test-e2e-nodocker - run: make test-e2e-nodocker

View file

@ -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 GOLANGCI_LINT_IMAGE = golangci/golangci-lint:v2.4.0
NODE_IMAGE = node:20-alpine3.20 NODE_IMAGE = node:20-alpine3.22
.PHONY: $(shell ls) .PHONY: $(shell ls)

View file

@ -7,7 +7,7 @@ ADD binaries/mediamtx_*_linux_armv7.tar.gz /linux/arm/v7
ADD binaries/mediamtx_*_linux_arm64.tar.gz /linux/arm64 ADD binaries/mediamtx_*_linux_arm64.tar.gz /linux/arm64
################################################################# #################################################################
FROM alpine:3.20 FROM alpine:3.22
RUN apk add --no-cache ffmpeg RUN apk add --no-cache ffmpeg

View file

@ -2,7 +2,7 @@
## Standard method ## 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 ```sh
git clone https://github.com/bluenviron/mediamtx 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. 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 ```sh
git clone https://github.com/bluenviron/mediamtx git clone https://github.com/bluenviron/mediamtx

2
go.mod
View file

@ -1,6 +1,6 @@
module github.com/bluenviron/mediamtx module github.com/bluenviron/mediamtx
go 1.24.0 go 1.25.0
require ( require (
code.cloudfoundry.org/bytefmt v0.50.0 code.cloudfoundry.org/bytefmt v0.50.0