Repository navigation
feat: Better Players #2232
Workflow file for this run
This file contains hidden or 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: static-analysis | |
| on: | |
| pull_request: | |
| merge_group: | |
| env: | |
| PROJECT_PATH: commet | |
| jobs: | |
| static-analysis: | |
| name: Static Analysis | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout ┏━┓ ︵ /(^.^/) | |
| uses: actions/checkout@v2 | |
| with: | |
| submodules: 'true' | |
| - name: Setup Flutter ╰(✿˙ᗜ˙)੭━☆゚.*・。゚ | |
| uses: subosito/flutter-action@v2.8.0 | |
| with: | |
| flutter-version: '3.41.9' | |
| channel: 'stable' | |
| - name: Setup Tools ᕙ|” ◉ ◡ ◉ ”|ᕗ | |
| run: | | |
| sudo apt-get update -y | |
| sudo apt-get install -y ninja-build libgtk-3-dev libmpv-dev mpv libmimalloc-dev | |
| - name: Configure Flutter (∩`-´)⊃━☆゚.*・。゚ | |
| run: flutter config --enable-linux-desktop | |
| - name: Check Code Style | |
| run: | | |
| cd $PROJECT_PATH | |
| flutter doctor | |
| flutter pub get | |
| rm -r lib/generated | |
| dart format -o none --show all --set-exit-if-changed . | |
| - name: Code Generation __φ(..;) | |
| run: | | |
| cd $PROJECT_PATH | |
| dart run scripts/codegen.dart | |
| - name: Check Warnings | |
| run: | | |
| cd $PROJECT_PATH | |
| dart analyze |