File tree Expand file tree Collapse file tree 4 files changed +27
-24
lines changed Expand file tree Collapse file tree 4 files changed +27
-24
lines changed Original file line number Diff line number Diff line change 9
9
10
10
jobs :
11
11
main :
12
+ # Grant GITHUB_TOKEN the permissions required to make a Pages deployment
13
+ permissions :
14
+ pages : write # to deploy to Pages
15
+ id-token : write # to verify the deployment originates from an appropriate source
16
+
12
17
runs-on : ubuntu-latest
13
18
strategy :
14
19
fail-fast : false
15
20
matrix :
16
- sdk : [ 2.13.4 ]
21
+ sdk : [ 2.18.7 ]
17
22
steps :
18
- - uses : actions/checkout@v2
23
+ - uses : actions/checkout@v3
19
24
- uses : dart-lang/setup-dart@v1
20
25
with :
21
26
sdk : ${{ matrix.sdk }}
@@ -25,20 +30,22 @@ jobs:
25
30
26
31
- id : build-docs
27
32
name : Build Docs
28
- run : pub global activate dartdoc && dartdoc --show-undocumented-categories
29
- if : ${{ matrix.sdk == '2.13.4' }}
30
-
31
- - id : deploy-docs
32
- name : Deploy Docs 🚀
33
- uses : JamesIves/github-pages-deploy-action@4.1.1
34
- with :
35
- branch : gh-pages
36
- folder : doc/api # Where the build step stores the dartdoc output
37
- if : ${{ steps.build-docs.outcome == 'success' && github.event_name == 'push' }}
33
+ run : dart pub get && dart doc .
34
+ if : ${{ matrix.sdk == '2.18.7' }}
38
35
36
+ # Upload the artifact as required by actions/deploy-pages
39
37
- name : Archive Dartdoc Artifact
40
- uses : actions/upload-artifact@v2
38
+ uses : actions/upload-pages- artifact@v1.0.7
41
39
with :
42
40
name : dartdoc
43
41
path : doc/api/
44
42
if : ${{ steps.build-docs.outcome == 'success' && steps.deploy-docs.outcome == 'skipped' }}
43
+
44
+ - id : deploy-docs
45
+ name : Deploy Docs 🚀
46
+ uses : actions/deploy-pages@v1
47
+ with :
48
+ artifact-name : dartdoc
49
+ if : ${{ steps.build-docs.outcome == 'success' && github.event_name == 'push' }}
50
+
51
+
Original file line number Diff line number Diff line change 12
12
jobs :
13
13
build :
14
14
runs-on : ubuntu-latest
15
- continue-on-error : ${{ matrix.sdk == 'dev' }} # Don't fail the workflow if the only errors are in the dev channel
16
15
strategy :
17
16
fail-fast : false
18
17
matrix :
19
- sdk : [stable, dev ]
18
+ sdk : [stable]
20
19
steps :
21
20
- uses : actions/checkout@v2
22
21
- uses : dart-lang/setup-dart@v1
53
52
runs-on : ubuntu-latest
54
53
strategy :
55
54
fail-fast : false
56
- matrix :
57
- sdk : [ 2.13.4 ]
55
+ matrix :
56
+ sdk : [ 2.13.4 ]
58
57
steps :
59
58
- uses : actions/checkout@v2
60
59
- uses : dart-lang/setup-dart@v1
86
85
pub run build_runner test -r -- -P concurrent-tests
87
86
pub run build_runner test -r -- -P non-concurrent-tests
88
87
timeout-minutes : 10
89
- if : ${{ always() && steps.install.outcome == 'success' }}
88
+ if : ${{ always() && steps.install.outcome == 'success' }}
Original file line number Diff line number Diff line change 1
- FROM google/dart:2.13
1
+ # Use the new dart image as per: https://hub.docker.com/r/google/dart
2
+ FROM dart:2.18.4
2
3
3
4
# Expose env vars for git ssh access
4
5
ARG GIT_SSH_KEY
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ description: A Dart unit testing library for OverReact components that mimics th
4
4
homepage : https://github.com/Workiva/react_testing_library/
5
5
documentation : https://workiva.github.io/react_testing_library
6
6
environment :
7
- sdk : ' >=2.12.0 <3.0.0'
7
+ sdk : ' >=2.18.4 <3.0.0'
8
8
9
9
dependencies :
10
10
color : " >=2.1.1 <4.0.0"
@@ -26,7 +26,3 @@ dependency_overrides:
26
26
git :
27
27
url : https://github.com/workiva/react-dart.git
28
28
ref : null-safety-manual
29
- test_html_builder :
30
- git :
31
- url : https://github.com/workiva/test_html_builder.git
32
- ref : v3_wip
You can’t perform that action at this time.
0 commit comments