chore(deps): update Go version to 1.22 across project files

This commit is contained in:
Sergey Krashevich
2024-05-30 17:12:56 +03:00
parent a9e7a73cc8
commit df1d44d24e
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ jobs:
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: { go-version: '1.21' } with: { go-version: '1.22' }
- name: Build go2rtc_win64 - name: Build go2rtc_win64
env: { GOOS: windows, GOARCH: amd64 } env: { GOOS: windows, GOARCH: amd64 }
+1 -1
View File
@@ -26,7 +26,7 @@ jobs:
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: '1.21' go-version: '1.22'
- name: Build Go binary - name: Build Go binary
run: go build -ldflags "-s -w" -trimpath -o ./go2rtc run: go build -ldflags "-s -w" -trimpath -o ./go2rtc
+1 -1
View File
@@ -2,7 +2,7 @@
# 0. Prepare images # 0. Prepare images
ARG PYTHON_VERSION="3.11" ARG PYTHON_VERSION="3.11"
ARG GO_VERSION="1.21" ARG GO_VERSION="1.22"
ARG NGROK_VERSION="3" ARG NGROK_VERSION="3"
FROM python:${PYTHON_VERSION}-alpine AS base FROM python:${PYTHON_VERSION}-alpine AS base
+1 -1
View File
@@ -1,6 +1,6 @@
module github.com/AlexxIT/go2rtc module github.com/AlexxIT/go2rtc
go 1.21 go 1.22
require ( require (
github.com/asticode/go-astits v1.13.0 github.com/asticode/go-astits v1.13.0
+1 -1
View File
@@ -4,7 +4,7 @@
# only debian 13 (trixie) has latest ffmpeg # only debian 13 (trixie) has latest ffmpeg
# https://packages.debian.org/trixie/ffmpeg # https://packages.debian.org/trixie/ffmpeg
ARG DEBIAN_VERSION="trixie-slim" ARG DEBIAN_VERSION="trixie-slim"
ARG GO_VERSION="1.21-bookworm" ARG GO_VERSION="1.22-bookworm"
ARG NGROK_VERSION="3" ARG NGROK_VERSION="3"
FROM debian:${DEBIAN_VERSION} AS base FROM debian:${DEBIAN_VERSION} AS base
+1 -1
View File
@@ -3,7 +3,7 @@ package homekit
import ( import (
"fmt" "fmt"
"io" "io"
"math/rand" "math/rand/v2"
"net" "net"
"time" "time"