feat: update to dart 3.6 #172
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: test_optimizer_ci | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
paths: | |
- .github/workflows/test_optimizer.yaml | |
- "bricks/test_optimizer/**" | |
branches: | |
- main | |
pull_request: | |
paths: | |
- .github/workflows/test_optimizer.yaml | |
- "bricks/test_optimizer/**" | |
branches: | |
- main | |
jobs: | |
build_hooks: | |
uses: VeryGoodOpenSource/very_good_workflows/.github/workflows/dart_package.yml@v1 | |
with: | |
dart_sdk: 3.6.0 | |
working_directory: bricks/test_optimizer/hooks | |
verify_bundle: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dart-lang/setup-dart@v1 | |
- name: Install mason | |
run: dart pub global activate mason_cli | |
- name: Run bundle generate | |
run: tool/generate_test_optimizer_bundle.sh | |
- name: Check for unbundled changes | |
run: git diff --exit-code --quiet || { echo "::error::Changes detected on the test_optimizer brick. Please run tool/generate_test_optimizer_bundle.sh to bundle these changes"; exit 1; } |