🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Update GoLang to 1.17 (#1295)
Deluan Quintãoc2251e6ddc28
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.jsonindex 0919e6afb..a0e2eae8f 100644--- a/.devcontainer/devcontainer.json+++ b/.devcontainer/devcontainer.json@@ -4,7 +4,7 @@"dockerfile": "Dockerfile","args": {// Update the VARIANT arg to pick a version of Go: 1, 1.15, 1.14- "VARIANT": "1.16",+ "VARIANT": "1.17",// Options"INSTALL_NODE": "true","NODE_VERSION": "v16"diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.ymlindex 241197215..790eb34bc 100644--- a/.github/workflows/pipeline.yml+++ b/.github/workflows/pipeline.yml@@ -10,7 +10,7 @@ on:- masterjobs:golangci-lint:- name: Lint Server+ name: Lint Go coderuns-on: ubuntu-lateststeps:- name: Install taglib@@ -26,11 +26,11 @@ jobs:args: --timeout 2mgo:- name: Test Server with Go ${{ matrix.go_version }}+ name: Test with Go ${{ matrix.go_version }}runs-on: ubuntu-lateststrategy:matrix:- go_version: [1.16.x]+ go_version: [1.16.x, 1.17.x]steps:- name: Install taglibrun: sudo apt-get install libtag1-dev@@ -107,7 +107,7 @@ jobs:retention-days: 7binaries:- name: Binaries+ name: Build binariesneeds: [js, go, golangci-lint]runs-on: ubuntu-lateststeps:@@ -129,7 +129,7 @@ jobs:- name: Run GoReleaser - SNAPSHOTif: startsWith(github.ref, 'refs/tags/') != true- uses: docker://deluan/ci-goreleaser:1.16.4-1+ uses: docker://deluan/ci-goreleaser:1.17.0-1env:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}with:@@ -137,7 +137,7 @@ jobs:- name: Run GoReleaser - RELEASEif: startsWith(github.ref, 'refs/tags/')- uses: docker://deluan/ci-goreleaser:1.16.4-1+ uses: docker://deluan/ci-goreleaser:1.17.0-1env:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}with:@@ -153,7 +153,7 @@ jobs:retention-days: 7docker:- name: Docker images+ name: Build Docker imagesneeds: [binaries]runs-on: ubuntu-latestenv:diff --git a/Makefile b/Makefileindex 4f0251178..12f735733 100644--- a/Makefile+++ b/Makefile@@ -9,7 +9,7 @@ GIT_SHA=source_archiveGIT_TAG=$(patsubst navidrome-%,v%,$(notdir $(PWD)))endif-CI_RELEASER_VERSION=1.16.4-1 ## https://github.com/navidrome/ci-goreleaser+CI_RELEASER_VERSION=1.17.0-1 ## https://github.com/navidrome/ci-goreleasersetup: check_env download-deps setup-git ##@1_Run_First Install dependencies and prepare development environment@echo Downloading Node dependencies...