feat: add invidious audio source and fix auto skipping tracks #276
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
pull_request: | |
env: | |
FLUTTER_VERSION: 3.22.2 | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: ${{ env.FLUTTER_VERSION }} | |
- name: Configure repo | |
run: | | |
flutter pub get | |
echo '${{ secrets.DOTENV_NIGHTLY }}' > .env | |
dart run build_runner build --delete-conflicting-outputs | |
- name: Lint Dart files | |
run: | | |
dart analyze --no-fatal-warnings | |
- name: Lint translations & config files | |
run: | | |
npm install -g @prantlf/jsonlint | |
jsonlint -q -D --enforce-double-quotes ./lib/l10n/*.arb | |
jsonlint -q -D --enforce-double-quotes -T .vscode/*.json |