Skip to content

Commit

Permalink
use open source items
Browse files Browse the repository at this point in the history
  • Loading branch information
jayudey-wf committed Oct 27, 2023
1 parent 7d9265c commit c67f947
Show file tree
Hide file tree
Showing 3 changed files with 113 additions and 7 deletions.
80 changes: 79 additions & 1 deletion .dart_tool/package_config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"configVersion": 2,
"packages": [
{
"name": "args",
"rootUri": "file:///Users/jayudey/.pub-cache/hosted/pub.dartlang.org/args-2.4.1",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "async",
"rootUri": "file:///Users/jayudey/.pub-cache/hosted/pub.dartlang.org/async-2.11.0",
Expand All @@ -13,12 +19,60 @@
"packageUri": "lib/",
"languageVersion": "2.17"
},
{
"name": "build_config",
"rootUri": "file:///Users/jayudey/.pub-cache/hosted/pub.dartlang.org/build_config-1.1.1",
"packageUri": "lib/",
"languageVersion": "2.14"
},
{
"name": "checked_yaml",
"rootUri": "file:///Users/jayudey/.pub-cache/hosted/pub.dartlang.org/checked_yaml-2.0.2",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "collection",
"rootUri": "file:///Users/jayudey/.pub-cache/hosted/pub.dartlang.org/collection-1.18.0",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "dependency_validator",
"rootUri": "file:///Users/jayudey/.pub-cache/hosted/pub.dartlang.org/dependency_validator-3.2.3",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "file",
"rootUri": "file:///Users/jayudey/.pub-cache/hosted/pub.dartlang.org/file-6.1.4",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "glob",
"rootUri": "file:///Users/jayudey/.pub-cache/hosted/pub.dartlang.org/glob-2.1.1",
"packageUri": "lib/",
"languageVersion": "2.15"
},
{
"name": "io",
"rootUri": "file:///Users/jayudey/.pub-cache/hosted/pub.dartlang.org/io-1.0.4",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "json_annotation",
"rootUri": "file:///Users/jayudey/.pub-cache/hosted/pub.dartlang.org/json_annotation-4.8.0",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "logging",
"rootUri": "file:///Users/jayudey/.pub-cache/hosted/pub.dartlang.org/logging-1.1.1",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "matcher",
"rootUri": "file:///Users/jayudey/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.16",
Expand All @@ -31,12 +85,30 @@
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "package_config",
"rootUri": "file:///Users/jayudey/.pub-cache/hosted/pub.dartlang.org/package_config-2.1.0",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "path",
"rootUri": "file:///Users/jayudey/.pub-cache/hosted/pub.dartlang.org/path-1.8.3",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "pub_semver",
"rootUri": "file:///Users/jayudey/.pub-cache/hosted/pub.dartlang.org/pub_semver-2.1.4",
"packageUri": "lib/",
"languageVersion": "2.17"
},
{
"name": "pubspec_parse",
"rootUri": "file:///Users/jayudey/.pub-cache/hosted/pub.dartlang.org/pubspec_parse-1.2.3",
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "quiver",
"rootUri": "file:///Users/jayudey/.pub-cache/hosted/pub.dartlang.org/quiver-3.2.1",
Expand Down Expand Up @@ -79,14 +151,20 @@
"packageUri": "lib/",
"languageVersion": "2.18"
},
{
"name": "yaml",
"rootUri": "file:///Users/jayudey/.pub-cache/hosted/pub.dartlang.org/yaml-3.1.1",
"packageUri": "lib/",
"languageVersion": "2.12"
},
{
"name": "pdfjs",
"rootUri": "../",
"packageUri": "lib/",
"languageVersion": "2.12"
}
],
"generated": "2023-10-24T18:05:21.752089Z",
"generated": "2023-10-27T14:28:22.763516Z",
"generator": "pub",
"generatorVersion": "2.18.7"
}
35 changes: 30 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,44 @@ on:
- '**'

jobs:
test:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sdk: [ 2.18.7, 2.19.6 ]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v2
- uses: dart-lang/setup-dart@v1
with:
sdk: ${{ matrix.sdk }}
- name: Install dependencies

- id: install
name: Install dependencies
run: dart pub get
- name: Check formatting
run: dart format --output=none --set-exit-if-changed .

- name: Validate dependencies
run: dart run dependency_validator
if: always() && steps.install.outcome == 'success'

- name: Analyze project source
working-directory: ./w_common
run: dart analyze
if: always() && steps.install.outcome == 'success'

format:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sdk: [ 2.18.7, 2.19.6 ]
steps:
- uses: actions/checkout@v2
- uses: dart-lang/[email protected]
- id: install
name: Install dependencies
run: dart pub get

- name: Verify formatting
run: dart format --output=none --set-exit-if-changed .
if: always() && steps.install.outcome == 'success'
5 changes: 4 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ environment:
sdk: '>=2.12.0 <3.0.0'

dependencies:
quiver: ^3.0.0
quiver: ^3.0.0

dev_dependencies:
dependency_validator: ^3.0.0

0 comments on commit c67f947

Please sign in to comment.