Skip to content

[CI] Regenerated from spec (#24) #374

[CI] Regenerated from spec (#24)

[CI] Regenerated from spec (#24) #374

Workflow file for this run

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]
defaults:
run:
working-directory: ${{ matrix.package }}
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
cache: true
- name: Pub cache
uses: actions/cache@v4
env:
cache-name: ${{ matrix.package }}
with:
path: ${{ env.PUB_CACHE }}
key: ${{ env.cache-name }}-${{ hashFiles('**/pubspec.lock') }}
restore-keys: ${{ env.cache-name }}-
- name: Pub get
run: dart pub get
- name: Publish dry run
run: dart pub publish --dry-run
- name: Run pana
run: |
dart pub global activate pana
pana --no-warning --exit-code-threshold 0