-
Notifications
You must be signed in to change notification settings - Fork 198
42 lines (34 loc) · 1.08 KB
/
test_optimizer.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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; }