package:test_reflective_loader #12
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:test_reflective_loader | |
on: | |
# Run on PRs and pushes to the default branch. | |
push: | |
branches: [ main ] | |
paths: | |
- '.github/workflows/test_reflective_loader.yaml' | |
- 'pkgs/test_reflective_loader/**' | |
pull_request: | |
branches: [ main ] | |
paths: | |
- '.github/workflows/test_reflective_loader.yaml' | |
- 'pkgs/test_reflective_loader/**' | |
schedule: | |
- cron: "0 0 * * 0" | |
env: | |
PUB_ENVIRONMENT: bot.github | |
defaults: | |
run: | |
working-directory: pkgs/test_reflective_loader/ | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
sdk: [dev, 3.1] | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94 | |
with: | |
sdk: ${{ matrix.sdk }} | |
- run: dart pub get | |
- name: dart format | |
run: dart format --output=none --set-exit-if-changed . | |
- run: dart analyze --fatal-infos | |
- run: dart test |