[CI] Regenerated from spec (#20) #357
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: Package analysis | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
package-analysis: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
package: [vrchat_dart, vrchat_dart_generated] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: subosito/flutter-action@v2 | |
with: | |
cache: true | |
- name: Pub cache | |
uses: actions/cache@v4 | |
env: | |
cache-name: pub-cache | |
with: | |
path: ${{ env.PUB_CACHE }} | |
key: ${{ env.cache-name }}-${{ hashFiles('**/pubspec.lock') }} | |
restore-keys: ${{ env.cache-name }}- | |
- name: Run pana | |
run: | | |
cd ${{ matrix.package }} | |
dart pub get | |
dart pub global activate pana | |
pana --no-warning --exit-code-threshold 0 |