Skip to content

Commit

Permalink
Merge pull request #1150 from skrashevich/go122
Browse files Browse the repository at this point in the history
update Go version to 1.22
  • Loading branch information
AlexxIT committed Jun 6, 2024
2 parents 9d5a5c1 + df1d44d commit a01da18
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- name: Setup Go
uses: actions/setup-go@v5
with: { go-version: '1.21' }
with: { go-version: '1.22' }

- name: Build go2rtc_win64
env: { GOOS: windows, GOARCH: amd64 }
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22'

- name: Build Go binary
run: go build -ldflags "-s -w" -trimpath -o ./go2rtc
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# 0. Prepare images
ARG PYTHON_VERSION="3.11"
ARG GO_VERSION="1.21"
ARG GO_VERSION="1.22"
ARG NGROK_VERSION="3"

FROM python:${PYTHON_VERSION}-alpine AS base
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/AlexxIT/go2rtc

go 1.21
go 1.22

require (
github.com/asticode/go-astits v1.13.0
Expand Down
2 changes: 1 addition & 1 deletion hardware.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# only debian 13 (trixie) has latest ffmpeg
# https://packages.debian.org/trixie/ffmpeg
ARG DEBIAN_VERSION="trixie-slim"
ARG GO_VERSION="1.21-bookworm"
ARG GO_VERSION="1.22-bookworm"
ARG NGROK_VERSION="3"

FROM debian:${DEBIAN_VERSION} AS base
Expand Down
2 changes: 1 addition & 1 deletion pkg/homekit/consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package homekit
import (
"fmt"
"io"
"math/rand"
"math/rand/v2"
"net"
"time"

Expand Down

0 comments on commit a01da18

Please sign in to comment.