bump Golang to 1.24 (#712)

This commit is contained in:
Alessandro Ros
2025-03-01 12:56:03 +01:00
committed by GitHub
parent 9c70b4192f
commit b088919a76
5 changed files with 8 additions and 8 deletions

View File

@@ -18,7 +18,7 @@ jobs:
- uses: actions/setup-go@v3 - uses: actions/setup-go@v3
with: with:
go-version: "1.23" go-version: "1.24"
- uses: golangci/golangci-lint-action@v3 - uses: golangci/golangci-lint-action@v3
with: with:
@@ -32,7 +32,7 @@ jobs:
- uses: actions/setup-go@v3 - uses: actions/setup-go@v3
with: with:
go-version: "1.23" go-version: "1.24"
- run: | - run: |
go mod tidy go mod tidy

View File

@@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
strategy: strategy:
matrix: matrix:
go: ["1.21", "1.22", "1.23"] go: ["1.22", "1.23", "1.24"]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@@ -24,7 +24,7 @@ jobs:
- run: make test-nodocker - run: make test-nodocker
- if: matrix.go == '1.23' - if: matrix.go == '1.24'
uses: codecov/codecov-action@v3 uses: codecov/codecov-action@v3
with: with:
token: ${{ secrets.CODECOV_TOKEN }} token: ${{ secrets.CODECOV_TOKEN }}
@@ -37,7 +37,7 @@ jobs:
- uses: actions/setup-go@v3 - uses: actions/setup-go@v3
with: with:
go-version: "1.23" go-version: "1.24"
- run: make test-highlevel-nodocker - run: make test-highlevel-nodocker

View File

@@ -1,4 +1,4 @@
BASE_IMAGE = golang:1.23-alpine3.20 BASE_IMAGE = golang:1.24-alpine3.20
LINT_IMAGE = golangci/golangci-lint:v1.64.5 LINT_IMAGE = golangci/golangci-lint:v1.64.5
.PHONY: $(shell ls) .PHONY: $(shell ls)

View File

@@ -8,7 +8,7 @@
RTSP 1.0 client and server library for the Go programming language, written for [MediaMTX](https://github.com/bluenviron/mediamtx). RTSP 1.0 client and server library for the Go programming language, written for [MediaMTX](https://github.com/bluenviron/mediamtx).
Go ≥ 1.21 is required. Go ≥ 1.22 is required.
Features: Features:

2
go.mod
View File

@@ -1,6 +1,6 @@
module github.com/bluenviron/gortsplib/v4 module github.com/bluenviron/gortsplib/v4
go 1.21.0 go 1.22.0
require ( require (
github.com/bluenviron/mediacommon/v2 v2.0.1-0.20250222132106-205c4f7f3850 github.com/bluenviron/mediacommon/v2 v2.0.1-0.20250222132106-205c4f7f3850