Skip to content

Commit

Permalink
fix for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
takumma committed Jun 10, 2024
1 parent cc24570 commit e9f8183
Showing 1 changed file with 13 additions and 65 deletions.
78 changes: 13 additions & 65 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,16 @@ jobs:
- name: mono_repo self validate
run: dart pub global run mono_repo generate --validate
job_002:
name: "analyze; PKGS: acyclic_steps, canonical_json, chunked_stream, dartdoc_test, http_methods, jsv, neat_cache, neat_periodic_task, pem, retry, safe_url_check, sanitize_html, slugid, vendor; `dart analyze`"
name: "analyze; PKGS: acyclic_steps, canonical_json, chunked_stream, dartdoc_test, http_methods, neat_cache, neat_periodic_task, pem, retry, safe_url_check, sanitize_html, slugid, vendor; `dart analyze`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:acyclic_steps-canonical_json-chunked_stream-dartdoc_test-http_methods-jsv-neat_cache-neat_periodic_task-pem-retry-safe_url_check-sanitize_html-slugid-vendor;commands:analyze"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:acyclic_steps-canonical_json-chunked_stream-dartdoc_test-http_methods-neat_cache-neat_periodic_task-pem-retry-safe_url_check-sanitize_html-slugid-vendor;commands:analyze"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:acyclic_steps-canonical_json-chunked_stream-dartdoc_test-http_methods-jsv-neat_cache-neat_periodic_task-pem-retry-safe_url_check-sanitize_html-slugid-vendor
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:acyclic_steps-canonical_json-chunked_stream-dartdoc_test-http_methods-neat_cache-neat_periodic_task-pem-retry-safe_url_check-sanitize_html-slugid-vendor
os:ubuntu-latest;pub-cache-hosted;sdk:stable
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
Expand Down Expand Up @@ -105,15 +105,6 @@ jobs:
run: dart analyze
if: "always() && steps.http_methods_pub_upgrade.conclusion == 'success'"
working-directory: http_methods
- id: jsv_pub_upgrade
name: jsv; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: jsv
- name: jsv; dart analyze
run: dart analyze
if: "always() && steps.jsv_pub_upgrade.conclusion == 'success'"
working-directory: jsv
- id: neat_cache_pub_upgrade
name: neat_cache; dart pub upgrade
run: dart pub upgrade
Expand Down Expand Up @@ -187,16 +178,16 @@ jobs:
if: "always() && steps.vendor_pub_upgrade.conclusion == 'success'"
working-directory: vendor
job_003:
name: "analyze; PKGS: acyclic_steps, canonical_json, chunked_stream, dartdoc_test, http_methods, jsv, neat_cache, neat_periodic_task, pem, retry, safe_url_check, sanitize_html, slugid, vendor; `dart format --output=none --set-exit-if-changed .`"
name: "analyze; PKGS: acyclic_steps, canonical_json, chunked_stream, dartdoc_test, http_methods, neat_cache, neat_periodic_task, pem, retry, safe_url_check, sanitize_html, slugid, vendor; `dart format --output=none --set-exit-if-changed .`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:acyclic_steps-canonical_json-chunked_stream-dartdoc_test-http_methods-jsv-neat_cache-neat_periodic_task-pem-retry-safe_url_check-sanitize_html-slugid-vendor;commands:format"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:acyclic_steps-canonical_json-chunked_stream-dartdoc_test-http_methods-neat_cache-neat_periodic_task-pem-retry-safe_url_check-sanitize_html-slugid-vendor;commands:format"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:acyclic_steps-canonical_json-chunked_stream-dartdoc_test-http_methods-jsv-neat_cache-neat_periodic_task-pem-retry-safe_url_check-sanitize_html-slugid-vendor
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:acyclic_steps-canonical_json-chunked_stream-dartdoc_test-http_methods-neat_cache-neat_periodic_task-pem-retry-safe_url_check-sanitize_html-slugid-vendor
os:ubuntu-latest;pub-cache-hosted;sdk:stable
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
Expand Down Expand Up @@ -252,15 +243,6 @@ jobs:
run: "dart format --output=none --set-exit-if-changed ."
if: "always() && steps.http_methods_pub_upgrade.conclusion == 'success'"
working-directory: http_methods
- id: jsv_pub_upgrade
name: jsv; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: jsv
- name: "jsv; dart format --output=none --set-exit-if-changed ."
run: "dart format --output=none --set-exit-if-changed ."
if: "always() && steps.jsv_pub_upgrade.conclusion == 'success'"
working-directory: jsv
- id: neat_cache_pub_upgrade
name: neat_cache; dart pub upgrade
run: dart pub upgrade
Expand Down Expand Up @@ -504,40 +486,6 @@ jobs:
- job_002
- job_003
job_009:
name: "tests; PKG: jsv; `dart test`"
runs-on: ubuntu-latest
steps:
- name: Cache Pub hosted dependencies
uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
with:
path: "~/.pub-cache/hosted"
key: "os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:jsv;commands:test_0"
restore-keys: |
os:ubuntu-latest;pub-cache-hosted;sdk:stable;packages:jsv
os:ubuntu-latest;pub-cache-hosted;sdk:stable
os:ubuntu-latest;pub-cache-hosted
os:ubuntu-latest
- name: Setup Dart SDK
uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: stable
- id: checkout
name: Checkout repository
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
- id: jsv_pub_upgrade
name: jsv; dart pub upgrade
run: dart pub upgrade
if: "always() && steps.checkout.conclusion == 'success'"
working-directory: jsv
- name: jsv; dart test
run: dart test
if: "always() && steps.jsv_pub_upgrade.conclusion == 'success'"
working-directory: jsv
needs:
- job_001
- job_002
- job_003
job_010:
name: "tests; PKG: neat_periodic_task; `dart test`"
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -571,7 +519,7 @@ jobs:
- job_001
- job_002
- job_003
job_011:
job_010:
name: "tests; PKG: pem; `dart test`"
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -605,7 +553,7 @@ jobs:
- job_001
- job_002
- job_003
job_012:
job_011:
name: "tests; PKG: retry; `dart test`"
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -639,7 +587,7 @@ jobs:
- job_001
- job_002
- job_003
job_013:
job_012:
name: "tests; PKG: safe_url_check; `dart test`"
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -673,7 +621,7 @@ jobs:
- job_001
- job_002
- job_003
job_014:
job_013:
name: "tests; PKG: sanitize_html; `dart test`"
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -707,7 +655,7 @@ jobs:
- job_001
- job_002
- job_003
job_015:
job_014:
name: "tests; PKG: slugid; `dart test`"
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -741,7 +689,7 @@ jobs:
- job_001
- job_002
- job_003
job_016:
job_015:
name: "tests; PKG: vendor; `dart test`"
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -775,7 +723,7 @@ jobs:
- job_001
- job_002
- job_003
job_017:
job_016:
name: "tests; PKG: neat_cache; `dart test -x redis`"
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit e9f8183

Please sign in to comment.