Skip to content

🎧 Your Personal Streaming Service

chore: upgrade Go to 1.14

Deluan07ac14f810ee
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 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.14
uses: actions/setup-go@v1
with:
- go-version: 1.13
+ go-version: 1.14
id: go
- name: Check out code into the Go module directory
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 0cb632625..94efcd4da 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -24,7 +24,7 @@ jobs:
- name: Fetch tags
run: 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-1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/Dockerfile b/Dockerfile
index 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 tools
RUN mkdir -p /src/ui/build
diff --git a/Makefile b/Makefile
index ca087f852..9c94ba0c4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-GO_VERSION=1.13
+GO_VERSION=1.14
NODE_VERSION=v13.7.0
GIT_SHA=$(shell git rev-parse --short HEAD)
@@ -51,7 +51,7 @@ check_env: check_go_env check_node_env
.PHONY: check_go_env
check_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_env
check_node_env:
@@ -79,4 +79,4 @@ release:
.PHONY: dist
dist:
- 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 --snapshot
diff --git a/README.md b/README.md
index 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, and
the steps bellow only work with these specific versions (enforced in the Makefile)
diff --git a/go.mod b/go.mod
index e89866c02..b4ed12759 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
module github.com/deluan/navidrome
-go 1.13
+go 1.14
require (
github.com/BurntSushi/toml v0.3.1 // indirect