File tree Expand file tree Collapse file tree 3 files changed +8
-22
lines changed Expand file tree Collapse file tree 3 files changed +8
-22
lines changed Original file line number Diff line number Diff line change 1616 fail-fast : false
1717 matrix :
1818 sdk :
19- - 2.13.4
2019 - 2.19.6
2120 # Commented out until we upgrade to Dart 3
2221 # - beta
3736 run : dart run dependency_validator
3837 - name : Check formatting
3938 run : dart format --output=none --set-exit-if-changed .
40- if : ${{ matrix.sdk == 'stable ' }}
39+ if : ${{ matrix.sdk == '2.19.6 ' }}
4140 - name : Analyze project source
4241 run : dart analyze
4342 - name : Run tests
Original file line number Diff line number Diff line change 11FROM drydock-prod.workiva.net/workiva/dart2_base_image:2
2- WORKDIR /build/
3- ADD . /build/
4-
2+ ADD pubspec.yaml pubspec.yaml
53RUN dart pub get
6-
7- RUN tar -cvzf /build/assets.tar.gz -C lib sockjs.js sockjs.js.map sockjs_prod.js sockjs_prod.js.map
8- ARG BUILD_ARTIFACTS_CDN=/build/assets.tar.gz
9-
104FROM scratch
Original file line number Diff line number Diff line change 1- name : verify-github-actions
2- description : Verify that the github actions run passed, this is needed to make pipelines pass without manual intervention
3- contact : ' Frontend Frameworks Architecture / #support-frontend-architecture'
4- image : drydock.workiva.net/workiva/skynet-images:3728345 # Uses the image from this branch: https://github.com/Workiva/skynet-images/pull/127
1+ description : no-op
2+ image : drydock.workiva.net/workiva/skynet-images:bash_curl_alpinelatest-latest
3+
54size : small
6- timeout : 600
5+ timeout : short
76
87run :
8+ on-tag : true
99 on-pull-request : true
10- on-promotion : true
11- when-modified-file-name-is :
12- - skynet.yaml
13-
14- env :
15- # encrypted github token used for requests to api.github.com
16- - secure : dnIrN6NR/QVFWqgHu98at/vrwT07wNoneulr+5rY4jdWVKmToyB5HYQplmxJC3M6Ju9fao4ZnnuXMRWHU4bBtR8Lkm0=
1710
1811scripts :
19- - python3 /actions/verify_github_actions.py
12+ - echo "See .github/workflows/dart_ci.yaml for tests"
You can’t perform that action at this time.
0 commit comments