diff --git a/.drone.yml b/.drone.yml index 3c9deac..507b3fa 100644 --- a/.drone.yml +++ b/.drone.yml @@ -20,7 +20,7 @@ steps: commands: - cp -rvf /samples/* resources/samples/ - name: test-repo-cgo-full - image: golang:1.18-alpine + image: golang:1.19-alpine depends_on: - music-samples commands: @@ -74,7 +74,7 @@ steps: - git clone --depth 1 https://github.com/mstorsjo/fdk-aac.git && cd fdk-aac && ./autogen.sh && ./configure --prefix /drone/src/build_deps && make -j$(nproc) && make install && cd .. - git clone --depth 1 https://git.gammaspectra.live/S.O.N.G/alac.git && cd alac && autoreconf -fi && ./configure --prefix /drone/src/build_deps && make && make install && cd .. - name: test-cgo-full - image: golang:1.18-alpine + image: golang:1.19-alpine depends_on: - music-samples - build-sources @@ -83,7 +83,7 @@ steps: - apk add --no-cache git gcc musl-dev pkgconfig - go test -p 1 -failfast -timeout 20m -cover -gcflags=-d=checkptr -v ./... - name: test-cgo-disable-codecs - image: golang:1.18-alpine + image: golang:1.19-alpine depends_on: - music-samples - build-sources @@ -92,7 +92,7 @@ steps: - apk add --no-cache git gcc musl-dev pkgconfig - go test -p 1 -failfast -timeout 20m -cover -gcflags=-d=checkptr -v -tags=disable_codec_libfdk_aac,disable_codec_lame,disable_codec_tta,disable_codec_libflac,disable_codec_libvorbis ./... - name: test-cgo-disable-formats - image: golang:1.18-alpine + image: golang:1.19-alpine volumes: - name: deps path: /drone/src/build_deps @@ -104,7 +104,7 @@ steps: - apk add --no-cache git gcc musl-dev pkgconfig - go test -p 1 -failfast -timeout 20m -cover -gcflags=-d=checkptr -v -tags=disable_format_aac,disable_format_alac,disable_format_mp3,disable_format_opus,disable_format_tta,disable_format_vorbis ./... - name: test-nocgo - image: golang:1.18-alpine + image: golang:1.19-alpine depends_on: - music-samples commands: @@ -157,7 +157,7 @@ steps: - git clone --depth 1 https://github.com/mstorsjo/fdk-aac.git && cd fdk-aac && ./autogen.sh && ./configure --prefix /drone/src/build_deps && make -j$(nproc) && make install && cd .. - git clone --depth 1 https://git.gammaspectra.live/S.O.N.G/alac.git && cd alac && autoreconf -fi && ./configure --prefix /drone/src/build_deps && make && make install && cd .. - name: test-cgo-full - image: golang:1.18-alpine + image: golang:1.19-alpine volumes: - name: deps path: /drone/src/build_deps @@ -169,7 +169,7 @@ steps: - apk add --no-cache git gcc musl-dev pkgconfig - go test -p 1 -failfast -timeout 20m -cover -gcflags=-d=checkptr -v ./... - name: test-cgo-disable-codecs - image: golang:1.18-alpine + image: golang:1.19-alpine volumes: - name: deps path: /drone/src/build_deps @@ -181,7 +181,7 @@ steps: - apk add --no-cache git gcc musl-dev pkgconfig - go test -p 1 -failfast -timeout 20m -cover -gcflags=-d=checkptr -v -tags=disable_codec_libfdk_aac,disable_codec_lame,disable_codec_tta,disable_codec_libflac,disable_codec_libvorbis ./... - name: test-cgo-disable-formats - image: golang:1.18-alpine + image: golang:1.19-alpine volumes: - name: deps path: /drone/src/build_deps @@ -193,7 +193,7 @@ steps: - apk add --no-cache git gcc musl-dev pkgconfig - go test -p 1 -failfast -timeout 20m -cover -gcflags=-d=checkptr -v -tags=disable_format_aac,disable_format_alac,disable_format_mp3,disable_format_opus,disable_format_tta,disable_format_vorbis ./... - name: test-nocgo - image: golang:1.18-alpine + image: golang:1.19-alpine depends_on: - music-samples commands: diff --git a/README.md b/README.md index 1545b3d..190e2db 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ Several audio Analyzer hashers are implemented. List of current ones: ## Dependencies -### Go >= 1.18 +### Go >= 1.19 ### [libFLAC](https://gitlab.xiph.org/xiph/flac) (required by [goflac](https://git.gammaspectra.live/S.O.N.G/goflac)) ```shell diff --git a/go.mod b/go.mod index 4de2ac3..faa6ce4 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module git.gammaspectra.live/S.O.N.G/Kirika -go 1.18 +go 1.19 require ( git.gammaspectra.live/S.O.N.G/flacgo v0.0.0-20220726151057-28f458bc5391 @@ -30,5 +30,5 @@ require ( github.com/klauspost/cpuid/v2 v2.1.0 // indirect github.com/mewkiz/pkg v0.0.0-20211102230744-16a6ce8f1b77 // indirect github.com/youpy/go-wav v0.3.2 // indirect - golang.org/x/sys v0.0.0-20220727055044-e65921a090b8 // indirect + golang.org/x/sys v0.0.0-20220731174439-a90be440212d // indirect ) diff --git a/go.sum b/go.sum index dc3a351..41ead0e 100644 --- a/go.sum +++ b/go.sum @@ -74,8 +74,8 @@ golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73r golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190429190828-d89cdac9e872/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20220704084225-05e143d24a9e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220727055044-e65921a090b8 h1:dyU22nBWzrmTQxtNrr4dzVOvaw35nUYE279vF9UmsI8= -golang.org/x/sys v0.0.0-20220727055044-e65921a090b8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220731174439-a90be440212d h1:Sv5ogFZatcgIMMtBSTTAgMYsicp25MXBubjXNDKwm80= +golang.org/x/sys v0.0.0-20220731174439-a90be440212d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=