Skip to content

🎧 Your Personal Streaming Service

Install taglib in `lint` and `go` jobs

Deluan674b56a53d2e
diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml
index e81ca9be2..246a20f8f 100644
--- a/.github/workflows/pipeline.yml
+++ b/.github/workflows/pipeline.yml
@@ -9,51 +9,52 @@ on:
branches:
- master
jobs:
-# golangci-lint:
-# name: Lint Server
-# runs-on: ubuntu-latest
-# steps:
-# - uses: actions/checkout@v2
-# - name: golangci-lint
-# uses: golangci/golangci-lint-action@v1
-# with:
-# version: v1.27
-# github-token: ${{ secrets.GITHUB_TOKEN }}
-# args: --timeout 2m
-#
-# go:
-# name: Test Server on ${{ matrix.os }}
-# runs-on: ${{ matrix.os }}
-# strategy:
-# matrix:
-# # TODO Fix tests in Windows
-# # os: [macOS-latest, ubuntu-latest, windows-latest]
-# os: [macOS-latest, ubuntu-latest]
-#
-# steps:
-# - name: Set up Go 1.14
-# uses: actions/setup-go@v1
-# with:
-# go-version: 1.14
-# id: go
-#
-# - name: Check out code into the Go module directory
-# uses: actions/checkout@v2
-#
-# - uses: actions/cache@v1
-# id: cache-go
-# with:
-# path: ~/go/pkg/mod
-# key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
-# restore-keys: |
-# ${{ runner.os }}-go-
-#
-# - name: Download dependencies
-# if: steps.cache-go.outputs.cache-hit != 'true'
-# run: go mod download
-#
-# - name: Test
-# run: go test -cover ./... -v
+ golangci-lint:
+ name: Lint Server
+ runs-on: ubuntu-latest
+ steps:
+ - name: Install taglib
+ run: sudo apt-get install libtag1-dev
+
+ - uses: actions/checkout@v2
+
+ - name: golangci-lint
+ uses: golangci/golangci-lint-action@v1
+ with:
+ version: v1.27
+ github-token: ${{ secrets.GITHUB_TOKEN }}
+ args: --timeout 2m
+
+ go:
+ name: Test Server
+ runs-on: ubuntu-latest
+ steps:
+ - name: Install taglib
+ run: sudo apt-get install libtag1-dev
+
+ - name: Set up Go 1.14
+ uses: actions/setup-go@v1
+ with:
+ go-version: 1.14
+ id: go
+
+ - name: Check out code into the Go module directory
+ uses: actions/checkout@v2
+
+ - uses: actions/cache@v1
+ id: cache-go
+ with:
+ path: ~/go/pkg/mod
+ key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
+ restore-keys: |
+ ${{ runner.os }}-go-
+
+ - name: Download dependencies
+ if: steps.cache-go.outputs.cache-hit != 'true'
+ run: go mod download
+
+ - name: Test
+ run: go test -cover ./... -v
js:
name: Build JS bundle
runs-on: ubuntu-latest