🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Add tests with GoLang 1.16-RC to the pipeline
Deluan Quintão9a3e75be002b
diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.ymlindex 9802129ab..870ceae89 100644--- a/.github/workflows/pipeline.yml+++ b/.github/workflows/pipeline.yml@@ -26,16 +26,20 @@ jobs:args: --timeout 2mgo:- name: Test Server+ name: Test Server with Go ${{ matrix.go_version }}runs-on: ubuntu-latest+ strategy:+ matrix:+ go_version: [1.15.x, 1.16.0-rc1]steps:- name: Install taglibrun: sudo apt-get install libtag1-dev- - name: Set up Go 1.15+ - name: Set up Go ${{ matrix.go_version }}uses: actions/setup-go@v2with:- go-version: 1.15+ stable: '!contains(${{ matrix.go_version }}, "beta") && !contains(${{ matrix.go_version }}, "rc")'+ go-version: ${{ matrix.go_version }}id: go- name: Check out code into the Go module directory@@ -45,15 +49,17 @@ jobs:id: cache-gowith:path: ~/go/pkg/mod- key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}+ key: ${{ runner.os }}-go-${{ matrix.go_version }}-${{ hashFiles('**/go.sum') }}restore-keys: |- ${{ runner.os }}-go-+ ${{ runner.os }}-go-${{ matrix.go_version }}-- name: Download dependenciesif: steps.cache-go.outputs.cache-hit != 'true'+ continue-on-error: ${{contains(matrix.go_version, 'beta') || contains(matrix.go_version, 'rc')}}run: go mod download- name: Test+ continue-on-error: ${{contains(matrix.go_version, 'beta') || contains(matrix.go_version, 'rc')}}run: go test -cover ./... -vjs:name: Build JS bundle