From b088919a762f25c4c1bcd770b2275ac432cdee5e Mon Sep 17 00:00:00 2001 From: Alessandro Ros Date: Sat, 1 Mar 2025 12:56:03 +0100 Subject: [PATCH] bump Golang to 1.24 (#712) --- .github/workflows/lint.yml | 4 ++-- .github/workflows/test.yml | 6 +++--- Makefile | 2 +- README.md | 2 +- go.mod | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6757dd54..10de09de 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/setup-go@v3 with: - go-version: "1.23" + go-version: "1.24" - uses: golangci/golangci-lint-action@v3 with: @@ -32,7 +32,7 @@ jobs: - uses: actions/setup-go@v3 with: - go-version: "1.23" + go-version: "1.24" - run: | go mod tidy diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e2e0ef55..35dd7004 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - go: ["1.21", "1.22", "1.23"] + go: ["1.22", "1.23", "1.24"] steps: - uses: actions/checkout@v4 @@ -24,7 +24,7 @@ jobs: - run: make test-nodocker - - if: matrix.go == '1.23' + - if: matrix.go == '1.24' uses: codecov/codecov-action@v3 with: token: ${{ secrets.CODECOV_TOKEN }} @@ -37,7 +37,7 @@ jobs: - uses: actions/setup-go@v3 with: - go-version: "1.23" + go-version: "1.24" - run: make test-highlevel-nodocker diff --git a/Makefile b/Makefile index 0fb94ec1..7acfb9de 100644 --- a/Makefile +++ b/Makefile @@ -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 .PHONY: $(shell ls) diff --git a/README.md b/README.md index ff5a1fa4..4d67e08a 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ 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: diff --git a/go.mod b/go.mod index c0470a09..554c2c53 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/bluenviron/gortsplib/v4 -go 1.21.0 +go 1.22.0 require ( github.com/bluenviron/mediacommon/v2 v2.0.1-0.20250222132106-205c4f7f3850