Skip to content

Commit

Permalink
Update GoLang to 1.17 (#1295)
Browse files Browse the repository at this point in the history
* Update GoLang to 1.17

* Rename pipeline jobs
  • Loading branch information
deluan committed Sep 9, 2021
1 parent 25aab8b commit c2251e6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- master
jobs:
golangci-lint:
name: Lint Server
name: Lint Go code
runs-on: ubuntu-latest
steps:
- name: Install taglib
Expand All @@ -26,11 +26,11 @@ jobs:
args: --timeout 2m

go:
name: Test Server with Go ${{ matrix.go_version }}
name: Test with Go ${{ matrix.go_version }}
runs-on: ubuntu-latest
strategy:
matrix:
go_version: [1.16.x]
go_version: [1.16.x, 1.17.x]
steps:
- name: Install taglib
run: sudo apt-get install libtag1-dev
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
retention-days: 7

binaries:
name: Binaries
name: Build binaries
needs: [js, go, golangci-lint]
runs-on: ubuntu-latest
steps:
Expand All @@ -129,15 +129,15 @@ jobs:

- name: Run GoReleaser - SNAPSHOT
if: startsWith(github.ref, 'refs/tags/') != true
uses: docker://deluan/ci-goreleaser:1.16.4-1
uses: docker://deluan/ci-goreleaser:1.17.0-1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: goreleaser release --rm-dist --skip-publish --snapshot

- name: Run GoReleaser - RELEASE
if: startsWith(github.ref, 'refs/tags/')
uses: docker://deluan/ci-goreleaser:1.16.4-1
uses: docker://deluan/ci-goreleaser:1.17.0-1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -153,7 +153,7 @@ jobs:
retention-days: 7

docker:
name: Docker images
name: Build Docker images
needs: [binaries]
runs-on: ubuntu-latest
env:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ GIT_SHA=source_archive
GIT_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-goreleaser

setup: check_env download-deps setup-git ##@1_Run_First Install dependencies and prepare development environment
@echo Downloading Node dependencies...
Expand Down

0 comments on commit c2251e6

Please sign in to comment.