mirror of
https://github.com/wger-project/flutter.git
synced 2026-11-29 01:18:35 +01:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
46 lines
1.0 KiB
YAML
46 lines
1.0 KiB
YAML
name: Analyze
|
|
on:
|
|
push:
|
|
paths:
|
|
- '**.dart'
|
|
- 'pubspec.yaml'
|
|
- 'analysis_options.yaml'
|
|
- 'lib/l10n/**'
|
|
- 'ios/Runner/Info.plist'
|
|
- 'android/app/src/main/res/xml/locales_config.xml'
|
|
pull_request:
|
|
branches: [ master, ]
|
|
paths:
|
|
- '**/*.dart'
|
|
- 'pubspec.yaml'
|
|
- 'analysis_options.yaml'
|
|
- 'lib/l10n/**'
|
|
- 'ios/Runner/Info.plist'
|
|
- 'android/app/src/main/res/xml/locales_config.xml'
|
|
- '.github/actions/flutter-common/action.yml'
|
|
- '.github/workflows/analyze.yml'
|
|
workflow_call:
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
analyze:
|
|
name: Run analyzer
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
|
|
- name: Common flutter setup
|
|
uses: ./.github/actions/flutter-common
|
|
|
|
- name: Install dependencies
|
|
run: flutter pub get
|
|
|
|
- name: Analyze
|
|
run: flutter analyze
|
|
|
|
- name: Check locale lists are in sync
|
|
run: dart run tool/check_locales.dart
|