From d919c27fd02be15dc1bf3433cb1fa38bcb7af438 Mon Sep 17 00:00:00 2001 From: WeebDataHoarder <57538841+WeebDataHoarder@users.noreply.github.com> Date: Tue, 2 Aug 2022 20:58:59 +0200 Subject: [PATCH] Update to go 1.19 minimum --- .drone.yml | 2 +- Dockerfile | 2 +- README.md | 4 ++-- go.mod | 4 ++-- go.sum | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index 825b429..c1b436f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,7 +5,7 @@ name: default steps: - name: test - image: golang:1.18-alpine + image: golang:1.19-alpine commands: - apk update - apk add --no-cache git gcc g++ musl-dev bash autoconf automake cmake make libtool gettext openssl-dev flac-dev opus-dev opusfile-dev libopusenc-dev libvorbis-dev libsamplerate-dev lame-dev libebur128-dev fdk-aac-dev --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community diff --git a/Dockerfile b/Dockerfile index a44ec96..7672d0e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.18-alpine AS builder +FROM golang:1.19-alpine AS builder WORKDIR /src diff --git a/README.md b/README.md index 62f3dba..27d724b 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Radio streamer ([kawa](https://github.com/Luminarys/kawa) drop-in compatible). * API additions to allow working with direct queue items or listeners. ## Dependencies -### Go >= 1.18 +### Go >= 1.19 ### [Kirika](https://git.gammaspectra.live/S.O.N.G/Kirika) dependencies Kirika is a collection of audio utilities for decoding/encoding files and streams. @@ -52,7 +52,7 @@ $ go run git.gammaspectra.live/S.O.N.G/MeteorLight@ ### From Docker/Podman -Image is using `golang:1.18-alpine`, dependencies are built from scratch. See [Dockerfile](Dockerfile). +Image is using `golang:1.19-alpine`, dependencies are built from scratch. See [Dockerfile](Dockerfile). ```shell $ docker build -t meteorlight . diff --git a/go.mod b/go.mod index 5e09ed6..09d132e 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,9 @@ module git.gammaspectra.live/S.O.N.G/MeteorLight -go 1.18 +go 1.19 require ( - git.gammaspectra.live/S.O.N.G/Kirika v0.0.0-20220801154050-3dbf43674282 + git.gammaspectra.live/S.O.N.G/Kirika v0.0.0-20220802185157-3271da2d59c5 github.com/BurntSushi/toml v1.2.0 github.com/dhowden/tag v0.0.0-20220618230019-adf36e896086 github.com/enriquebris/goconcurrentqueue v0.6.3 diff --git a/go.sum b/go.sum index 2197a4a..ae9c634 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -git.gammaspectra.live/S.O.N.G/Kirika v0.0.0-20220801154050-3dbf43674282 h1:UWRDBpdHfYOahNGKIWoT0+S3tZ3Fx/+9RISHugvp7SY= -git.gammaspectra.live/S.O.N.G/Kirika v0.0.0-20220801154050-3dbf43674282/go.mod h1:M4hLHeQyam39BCxp/0FDYIH8yaYfiRbG6xWhvvwlVn0= +git.gammaspectra.live/S.O.N.G/Kirika v0.0.0-20220802185157-3271da2d59c5 h1:Ex/yENRmS+7ZQHyLA4Iavxx4XfYopUUZXq0kzzi5suw= +git.gammaspectra.live/S.O.N.G/Kirika v0.0.0-20220802185157-3271da2d59c5/go.mod h1:t8jY8NqFY2Wwzcyj486u7ox4zyfXnlnoQBgbOzBQdl0= git.gammaspectra.live/S.O.N.G/flacgo v0.0.0-20220726151057-28f458bc5391 h1:us3yKKsnMe0FZVHRSFZCw113ddiNrZgKf5M5PNr3SQ4= git.gammaspectra.live/S.O.N.G/flacgo v0.0.0-20220726151057-28f458bc5391/go.mod h1:ZVHB/7Vrs9xxK1j98+SJ5TRYBc7Q9dIUaNJHEmysZcI= git.gammaspectra.live/S.O.N.G/go-alac v0.0.0-20220421115623-d0b3bfe57e0f h1:CxN7zlk5FdAieyRKQSbwBGBsvQ2cDF8JVCODZpzcRkA=