🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Add i18n lint job
Deluan Quintão68ddbf4856fd
diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.ymlindex 43732d34c..9eb338b87 100644--- a/.github/workflows/pipeline.yml+++ b/.github/workflows/pipeline.yml@@ -99,10 +99,26 @@ jobs:name: js-bundlepath: ui/buildretention-days: 7+ i18n-lint:+ name: Lint i18n files+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v4+ - run: |+ set -e+ for file in resources/i18n/*.json; do+ echo "Validating $file"+ if ! jq empty "$file" 2>error.log; then+ error_message=$(cat error.log)+ line_number=$(echo "$error_message" | grep -oP 'line \K[0-9]+')+ echo "::error file=$file,line=$line_number::$error_message"+ exit 1+ fi+ donebinaries:name: Build binaries- needs: [js, go, go-lint]+ needs: [js, go, go-lint, i18n-lint]runs-on: ubuntu-latestcontainer: deluan/ci-goreleaser:1.23.0-1steps: