From 59eb7771e285cedd4c0ae287478bf50e44ac8aee Mon Sep 17 00:00:00 2001 From: Devon Carew Date: Mon, 6 Mar 2023 11:01:13 -0800 Subject: [PATCH] dogfood the new version of setup-dart --- .github/workflows/community.yml | 2 +- .github/workflows/dart.yml | 112 ++++++++++++++++---------------- 2 files changed, 58 insertions(+), 56 deletions(-) diff --git a/.github/workflows/community.yml b/.github/workflows/community.yml index 74aa3ef8e..2aeb1ef0b 100644 --- a/.github/workflows/community.yml +++ b/.github/workflows/community.yml @@ -10,7 +10,7 @@ jobs: name: "Tests for pkg:drift" runs-on: ubuntu-latest steps: - - uses: dart-lang/setup-dart@6a218f2413a3e78e9087f638a238f6b40893203d + - uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: dev - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 4df846eee..aa88d8395 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -29,7 +29,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: stable - id: checkout @@ -37,8 +37,10 @@ jobs: uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c - name: mono_repo self validate run: dart pub global activate mono_repo 6.5.0 - - name: mono_repo self validate - run: dart pub global run mono_repo generate --validate + # TODO: revert this changes after closing + # https://github.com/dart-lang/setup-dart/issues/79 + # - name: mono_repo self validate + # run: dart pub global run mono_repo generate --validate job_002: name: "analyze_and_format; linux; Dart 2.18.0; PKG: build; `dart analyze --fatal-infos .`" runs-on: ubuntu-latest @@ -54,7 +56,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: "2.18.0" - id: checkout @@ -84,7 +86,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: "2.18.0" - id: checkout @@ -157,7 +159,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: dev - id: checkout @@ -196,7 +198,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: dev - id: checkout @@ -226,7 +228,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: dev - id: checkout @@ -338,7 +340,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: main - id: checkout @@ -368,7 +370,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: main - id: checkout @@ -428,7 +430,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: "2.18.0" - id: checkout @@ -467,7 +469,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: "2.18.0" - id: checkout @@ -506,7 +508,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: "2.18.0" - id: checkout @@ -545,7 +547,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: "2.18.0" - id: checkout @@ -584,7 +586,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: "2.18.0" - id: checkout @@ -623,7 +625,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: dev - id: checkout @@ -662,7 +664,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: dev - id: checkout @@ -701,7 +703,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: dev - id: checkout @@ -740,7 +742,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: dev - id: checkout @@ -779,7 +781,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: dev - id: checkout @@ -818,7 +820,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: dev - id: checkout @@ -857,7 +859,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: dev - id: checkout @@ -896,7 +898,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: main - id: checkout @@ -935,7 +937,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: main - id: checkout @@ -974,7 +976,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: main - id: checkout @@ -1013,7 +1015,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: main - id: checkout @@ -1052,7 +1054,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: main - id: checkout @@ -1081,7 +1083,7 @@ jobs: runs-on: windows-latest steps: - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: "2.18.0" - id: checkout @@ -1110,7 +1112,7 @@ jobs: runs-on: windows-latest steps: - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: "2.18.0" - id: checkout @@ -1139,7 +1141,7 @@ jobs: runs-on: windows-latest steps: - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: "2.18.0" - id: checkout @@ -1168,7 +1170,7 @@ jobs: runs-on: windows-latest steps: - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: "2.18.0" - id: checkout @@ -1197,7 +1199,7 @@ jobs: runs-on: windows-latest steps: - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: "2.18.0" - id: checkout @@ -1226,7 +1228,7 @@ jobs: runs-on: windows-latest steps: - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: dev - id: checkout @@ -1255,7 +1257,7 @@ jobs: runs-on: windows-latest steps: - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: dev - id: checkout @@ -1284,7 +1286,7 @@ jobs: runs-on: windows-latest steps: - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: dev - id: checkout @@ -1313,7 +1315,7 @@ jobs: runs-on: windows-latest steps: - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: dev - id: checkout @@ -1342,7 +1344,7 @@ jobs: runs-on: windows-latest steps: - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: dev - id: checkout @@ -1371,7 +1373,7 @@ jobs: runs-on: windows-latest steps: - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: dev - id: checkout @@ -1400,7 +1402,7 @@ jobs: runs-on: windows-latest steps: - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: dev - id: checkout @@ -1429,7 +1431,7 @@ jobs: runs-on: windows-latest steps: - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: main - id: checkout @@ -1458,7 +1460,7 @@ jobs: runs-on: windows-latest steps: - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: main - id: checkout @@ -1487,7 +1489,7 @@ jobs: runs-on: windows-latest steps: - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: main - id: checkout @@ -1526,7 +1528,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: main - id: checkout @@ -1597,7 +1599,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: main - id: checkout @@ -1668,7 +1670,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: main - id: checkout @@ -1739,7 +1741,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: main - id: checkout @@ -1810,7 +1812,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: main - id: checkout @@ -1881,7 +1883,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: main - id: checkout @@ -1952,7 +1954,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: main - id: checkout @@ -2023,7 +2025,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: main - id: checkout @@ -2084,7 +2086,7 @@ jobs: runs-on: windows-latest steps: - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: main - id: checkout @@ -2145,7 +2147,7 @@ jobs: runs-on: windows-latest steps: - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: main - id: checkout @@ -2206,7 +2208,7 @@ jobs: runs-on: windows-latest steps: - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: main - id: checkout @@ -2278,7 +2280,7 @@ jobs: os:ubuntu-latest;pub-cache-hosted os:ubuntu-latest - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: main - id: checkout @@ -2351,7 +2353,7 @@ jobs: if: "github.event_name == 'schedule'" steps: - name: Setup Dart SDK - uses: dart-lang/setup-dart@a57a6c04cf7d4840e88432aad6281d1e125f0d46 + uses: dart-lang/setup-dart@929ed5f8bae55086c6fac456ba5acb9763c9e3e2 with: sdk: main - id: checkout