mirror of
https://github.com/aler9/gortsplib
synced 2025-10-03 14:26:42 +08:00
bump Golang to 1.25 (#864)
This commit is contained in:
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: "1.24"
|
go-version: "1.25"
|
||||||
|
|
||||||
- uses: golangci/golangci-lint-action@v8
|
- uses: golangci/golangci-lint-action@v8
|
||||||
with:
|
with:
|
||||||
@@ -32,7 +32,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: "1.24"
|
go-version: "1.25"
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
go mod tidy
|
go mod tidy
|
||||||
|
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@@ -11,7 +11,7 @@ jobs:
|
|||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go: ["1.23", "1.24"]
|
go: ["1.24", "1.25"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
@@ -24,7 +24,7 @@ jobs:
|
|||||||
|
|
||||||
- run: make test-nodocker
|
- run: make test-nodocker
|
||||||
|
|
||||||
- if: matrix.go == '1.24'
|
- if: matrix.go == '1.25'
|
||||||
uses: codecov/codecov-action@v5
|
uses: codecov/codecov-action@v5
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
@@ -37,7 +37,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: "1.24"
|
go-version: "1.25"
|
||||||
|
|
||||||
- run: make test-e2e-nodocker
|
- run: make test-e2e-nodocker
|
||||||
|
|
||||||
|
2
Makefile
2
Makefile
@@ -1,4 +1,4 @@
|
|||||||
BASE_IMAGE = golang:1.24-alpine3.20
|
BASE_IMAGE = golang:1.25-alpine3.22
|
||||||
LINT_IMAGE = golangci/golangci-lint:v2.4.0
|
LINT_IMAGE = golangci/golangci-lint:v2.4.0
|
||||||
|
|
||||||
.PHONY: $(shell ls)
|
.PHONY: $(shell ls)
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
RTSP client and server library for the Go programming language, written for [MediaMTX](https://github.com/bluenviron/mediamtx).
|
RTSP client and server library for the Go programming language, written for [MediaMTX](https://github.com/bluenviron/mediamtx).
|
||||||
|
|
||||||
Go ≥ 1.23 is required.
|
Go ≥ 1.24 is required.
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
|
|
||||||
|
2
go.mod
2
go.mod
@@ -1,6 +1,6 @@
|
|||||||
module github.com/bluenviron/gortsplib/v4
|
module github.com/bluenviron/gortsplib/v4
|
||||||
|
|
||||||
go 1.23.0
|
go 1.24.0
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/bluenviron/mediacommon/v2 v2.4.1
|
github.com/bluenviron/mediacommon/v2 v2.4.1
|
||||||
|
@@ -16,7 +16,7 @@ test-nodocker: test-examples test-pkg test-root
|
|||||||
|
|
||||||
define DOCKERFILE_TEST
|
define DOCKERFILE_TEST
|
||||||
ARG ARCH
|
ARG ARCH
|
||||||
FROM $$ARCH/$(BASE_IMAGE)
|
FROM --platform=$$ARCH $(BASE_IMAGE)
|
||||||
RUN apk add --no-cache make git gcc musl-dev pkgconfig ffmpeg-dev
|
RUN apk add --no-cache make git gcc musl-dev pkgconfig ffmpeg-dev
|
||||||
WORKDIR /s
|
WORKDIR /s
|
||||||
COPY go.mod go.sum ./
|
COPY go.mod go.sum ./
|
||||||
|
Reference in New Issue
Block a user