Skip to content

Commit

Permalink
bump Go to 1.22 (#3279)
Browse files Browse the repository at this point in the history
  • Loading branch information
aler9 committed Apr 21, 2024
1 parent 6513f05 commit 9e63630
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/code_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.21"
go-version: "1.22"

- run: touch internal/servers/hls/hls.min.js

Expand All @@ -31,7 +31,7 @@ jobs:

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

- run: |
go mod tidy
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ jobs:

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

- run: make test-highlevel-nodocker
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.19
BASE_IMAGE = golang:1.22-alpine3.19
LINT_IMAGE = golangci/golangci-lint:v1.56.2
NODE_IMAGE = node:20-alpine3.19
ALPINE_IMAGE = alpine:3.19
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1992,7 +1992,7 @@ Be aware that RTMPS is currently unsupported by all major players. However, you

### Standard

Install git and Go ≥ 1.21. Clone the repository, enter into the folder and start the building process:
Install git and Go ≥ 1.22. Clone the repository, enter into the folder and start the building process:

```sh
git clone https://github.com/bluenviron/mediamtx
Expand All @@ -2007,7 +2007,7 @@ The command will produce the `mediamtx` binary.

The server can be compiled with native support for the Raspberry Pi Camera. Compilation must be performed on a Raspberry Pi, with the following dependencies:

* Go ≥ 1.21
* Go ≥ 1.22
* `libcamera-dev`
* `libfreetype-dev`
* `xxd`
Expand Down Expand Up @@ -2050,7 +2050,7 @@ If the OpenWrt device doesn't have enough resources to compile, you can [cross c

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.21. 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.22. Clone the repository, enter into the folder and start the building process:

```sh
git clone https://github.com/bluenviron/mediamtx
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/mediamtx

go 1.21
go 1.22

require (
code.cloudfoundry.org/bytefmt v0.0.0
Expand Down

0 comments on commit 9e63630

Please sign in to comment.