Skip to content

Commit

Permalink
support go 1.22; drop support for go 1.19 (#548)
Browse files Browse the repository at this point in the history
  • Loading branch information
aler9 authored Apr 21, 2024
1 parent c3145fa commit 0c99fd6
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions/setup-go@v3
with:
go-version: "1.19"
go-version: "1.22"

- uses: golangci/golangci-lint-action@v3
with:
Expand All @@ -29,7 +29,7 @@ jobs:

- uses: actions/setup-go@v2
with:
go-version: "1.21"
go-version: "1.22"

- run: |
go mod tidy
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
go: ["1.19", "1.20", "1.21"]
go: ["1.20", "1.21", "1.22"]

steps:
- uses: actions/checkout@v2
Expand All @@ -24,7 +24,7 @@ jobs:

- run: make test-nodocker

- if: matrix.go == '1.21'
- if: matrix.go == '1.22'
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand All @@ -37,7 +37,7 @@ jobs:

- uses: actions/setup-go@v2
with:
go-version: "1.21"
go-version: "1.22"

- run: make test-highlevel-nodocker

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
BASE_IMAGE = golang:1.21-alpine3.18
BASE_IMAGE = golang:1.22-alpine3.18
LINT_IMAGE = golangci/golangci-lint:v1.56.2

.PHONY: $(shell ls)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.19 is required.
Go ≥ 1.20 is required.

Features:

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/bluenviron/gortsplib/v4

go 1.19
go 1.20

require (
github.com/bluenviron/mediacommon v1.9.3
Expand Down

0 comments on commit 0c99fd6

Please sign in to comment.