Skip to content

Merge pull request #2 from anthochamp/renovate/dart-lang-setup-dart-1.x #13

Merge pull request #2 from anthochamp/renovate/dart-lang-setup-dart-1.x

Merge pull request #2 from anthochamp/renovate/dart-lang-setup-dart-1.x #13

Workflow file for this run

name: Dart
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
analyze:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1.6.5
- id: install
run: dart pub get
- run: dart format --output=none --set-exit-if-changed .
- run: dart analyze --fatal-infos .
if: always() && steps.install.outcome == 'success'
- run: dart run ac_code_metrics:metrics analyze .
if: always() && steps.install.outcome == 'success'
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: dart-lang/setup-dart@v1.6.5
- id: install
run: dart pub get
- run: dart test
if: always() && steps.install.outcome == 'success'