🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
chore: upgrade Go to 1.14
Deluan07ac14f810ee
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex 600fb81ab..04a57ba20 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -11,10 +11,10 @@ jobs:os: [macOS-latest, ubuntu-latest]steps:- - name: Set up Go 1.13+ - name: Set up Go 1.14uses: actions/setup-go@v1with:- go-version: 1.13+ go-version: 1.14id: go- name: Check out code into the Go module directorydiff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 0cb632625..94efcd4da 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -24,7 +24,7 @@ jobs:- name: Fetch tagsrun: git fetch --depth=1 origin +refs/tags/*:refs/tags/*- name: Run GoReleaser- uses: docker://bepsays/ci-goreleaser:latest+ uses: docker://bepsays/ci-goreleaser:1.14-1env:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}diff --git a/Dockerfile b/Dockerfileindex a4b3b6ee5..3e4aa1979 100644--- a/Dockerfile+++ b/Dockerfile@@ -10,7 +10,7 @@ RUN npm run build######################################################## Build executable-FROM golang:1.13-alpine AS gobuilder+FROM golang:1.14-alpine AS gobuilder# Download build toolsRUN mkdir -p /src/ui/builddiff --git a/Makefile b/Makefileindex ca087f852..9c94ba0c4 100644--- a/Makefile+++ b/Makefile@@ -1,4 +1,4 @@-GO_VERSION=1.13+GO_VERSION=1.14NODE_VERSION=v13.7.0GIT_SHA=$(shell git rev-parse --short HEAD)@@ -51,7 +51,7 @@ check_env: check_go_env check_node_env.PHONY: check_go_envcheck_go_env:@(hash go) || (echo "\nERROR: GO environment not setup properly!\n"; exit 1)- @go version | grep -q $(GO_VERSION) || (echo "\nERROR: Please upgrade your GO version\n"; exit 1)+ @go version | grep -q $(GO_VERSION) || (echo "\nERROR: Please upgrade your GO version\nThis project requires version $(GO_VERSION)"; exit 1).PHONY: check_node_envcheck_node_env:@@ -79,4 +79,4 @@ release:.PHONY: distdist:- docker run -it -v $(PWD):/github/workspace -w /github/workspace bepsays/ci-goreleaser:1.13-4 goreleaser release --rm-dist --skip-publish --snapshot+ docker run -it -v $(PWD):/github/workspace -w /github/workspace bepsays/ci-goreleaser:1.14-1 goreleaser release --rm-dist --skip-publish --snapshotdiff --git a/README.md b/README.mdindex f8250d339..8d66514b3 100644--- a/README.md+++ b/README.md@@ -86,7 +86,7 @@ To get the cutting-edge, latest version from master, use the image `deluan/navid### Build from source-You will need to install [Go 1.13](https://golang.org/dl/) and [Node 13.7.0](http://nodejs.org).+You will need to install [Go 1.14](https://golang.org/dl/) and [Node 13.7.0](http://nodejs.org).You'll also need [ffmpeg](https://ffmpeg.org) installed in your system. The setup is very strict, andthe steps bellow only work with these specific versions (enforced in the Makefile)diff --git a/go.mod b/go.modindex e89866c02..b4ed12759 100644--- a/go.mod+++ b/go.mod@@ -1,6 +1,6 @@module github.com/deluan/navidrome-go 1.13+go 1.14require (github.com/BurntSushi/toml v0.3.1 // indirect