Skip to content

Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (#268) #81

Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (#268)

Bump dart-lang/setup-dart from 1.6.2 to 1.6.4 (#268) #81

name: package:extension_discovery
permissions: read-all
on:
pull_request:
branches: [ main ]
paths:
- '.github/workflows/unified_analytics.yml'
- 'pkgs/extension_discovery/**'
push:
branches: [ main ]
paths:
- '.github/workflows/extension_discovery.yml'
- 'pkgs/extension_discovery/**'
schedule:
- cron: '0 0 * * 0' # weekly
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: pkgs/extension_discovery
strategy:
fail-fast: false
matrix:
sdk: [stable, dev] # {pkgs.versions}
include:
- sdk: stable
check-formatting: true
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30
with:
sdk: ${{matrix.sdk}}
- run: dart pub get
- run: |
(cd example/hello_world && dart pub get)
(cd example/hello_world_app && dart pub get)
(cd example/hello_world_german && dart pub get)
- run: dart analyze --fatal-infos
- run: dart format --output=none --set-exit-if-changed .
if: ${{matrix.check-formatting}}
- run: dart test