File tree Expand file tree Collapse file tree 30 files changed +697
-369
lines changed Expand file tree Collapse file tree 30 files changed +697
-369
lines changed Original file line number Diff line number Diff line change @@ -3,3 +3,7 @@ root = true
33[* ]
44indent_style = tab
55indent_size = 2
6+
7+ [* .{yml,yaml} ]
8+ indent_style = space
9+ indent_size = 2
Original file line number Diff line number Diff line change 1+ name : Documentation Coverage
2+
3+ on : [push, pull_request]
4+
5+ permissions :
6+ contents : read
7+
8+ env :
9+ CONSOLE_OUTPUT : XTerm
10+ COVERAGE : PartialSummary
11+
12+ jobs :
13+ validate :
14+ runs-on : ubuntu-latest
15+
16+ steps :
17+ - uses : actions/checkout@v4
18+ - uses : ruby/setup-ruby@v1
19+ with :
20+ ruby-version : " 3.4"
21+ bundler-cache : true
22+
23+ - name : Validate coverage
24+ timeout-minutes : 5
25+ run : bundle exec bake decode:index:coverage lib
Original file line number Diff line number Diff line change 1+ name : Documentation
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages:
9+ permissions :
10+ contents : read
11+ pages : write
12+ id-token : write
13+
14+ # Allow one concurrent deployment:
15+ concurrency :
16+ group : " pages"
17+ cancel-in-progress : true
18+
19+ env :
20+ CONSOLE_OUTPUT : XTerm
21+ BUNDLE_WITH : maintenance
22+
23+ jobs :
24+ generate :
25+ runs-on : ubuntu-latest
26+
27+ steps :
28+ - uses : actions/checkout@v4
29+
30+ - uses : ruby/setup-ruby@v1
31+ with :
32+ ruby-version : " 3.4"
33+ bundler-cache : true
34+
35+ - name : Installing packages
36+ run : sudo apt-get install wget
37+
38+ - name : Generate documentation
39+ timeout-minutes : 5
40+ run : bundle exec bake utopia:project:static --force no
41+
42+ - name : Upload documentation artifact
43+ uses : actions/upload-pages-artifact@v3
44+ with :
45+ path : docs
46+
47+ deploy :
48+ runs-on : ubuntu-latest
49+
50+ environment :
51+ name : github-pages
52+ url : ${{steps.deployment.outputs.page_url}}
53+
54+ needs : generate
55+ steps :
56+ - name : Deploy to GitHub Pages
57+ id : deployment
58+ uses : actions/deploy-pages@v4
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : RuboCop
2+
3+ on : [push, pull_request]
4+
5+ permissions :
6+ contents : read
7+
8+ env :
9+ CONSOLE_OUTPUT : XTerm
10+
11+ jobs :
12+ check :
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - uses : actions/checkout@v4
17+ - uses : ruby/setup-ruby@v1
18+ with :
19+ ruby-version : ruby
20+ bundler-cache : true
21+
22+ - name : Run RuboCop
23+ timeout-minutes : 10
24+ run : bundle exec rubocop
Original file line number Diff line number Diff line change 1+ name : Test Coverage
2+
3+ on : [push, pull_request]
4+
5+ permissions :
6+ contents : read
7+
8+ env :
9+ CONSOLE_OUTPUT : XTerm
10+ COVERAGE : PartialSummary
11+
12+ jobs :
13+ test :
14+ name : ${{matrix.ruby}} on ${{matrix.os}}
15+ runs-on : ${{matrix.os}}-latest
16+
17+ strategy :
18+ matrix :
19+ os :
20+ - ubuntu
21+ - macos
22+
23+ ruby :
24+ - " 3.4"
25+
26+ steps :
27+ - uses : actions/checkout@v4
28+ - uses : ruby/setup-ruby@v1
29+ with :
30+ ruby-version : ${{matrix.ruby}}
31+ bundler-cache : true
32+
33+ - name : Run tests
34+ timeout-minutes : 5
35+ run : bundle exec bake test
36+
37+ - uses : actions/upload-artifact@v4
38+ with :
39+ include-hidden-files : true
40+ if-no-files-found : error
41+ name : coverage-${{matrix.os}}-${{matrix.ruby}}
42+ path : .covered.db
43+
44+ validate :
45+ needs : test
46+ runs-on : ubuntu-latest
47+
48+ steps :
49+ - uses : actions/checkout@v4
50+ - uses : ruby/setup-ruby@v1
51+ with :
52+ ruby-version : " 3.4"
53+ bundler-cache : true
54+
55+ - uses : actions/download-artifact@v4
56+
57+ - name : Validate coverage
58+ timeout-minutes : 5
59+ run : bundle exec bake covered:validate --paths */.covered.db \;
Original file line number Diff line number Diff line change 1+ name : Test External
2+
3+ on : [push, pull_request]
4+
5+ permissions :
6+ contents : read
7+
8+ env :
9+ CONSOLE_OUTPUT : XTerm
10+
11+ jobs :
12+ test :
13+ name : ${{matrix.ruby}} on ${{matrix.os}}
14+ runs-on : ${{matrix.os}}-latest
15+
16+ strategy :
17+ matrix :
18+ os :
19+ - ubuntu
20+ - macos
21+
22+ ruby :
23+ - " 3.1"
24+ - " 3.2"
25+ - " 3.3"
26+ - " 3.4"
27+
28+ steps :
29+ - uses : actions/checkout@v4
30+ - uses : ruby/setup-ruby@v1
31+ with :
32+ ruby-version : ${{matrix.ruby}}
33+ bundler-cache : true
34+
35+ - name : Run tests
36+ timeout-minutes : 10
37+ run : bundle exec bake test:external
Original file line number Diff line number Diff line change 1- name : Development
1+ name : Test
22
33on : [push, pull_request]
44
5+ permissions :
6+ contents : read
7+
8+ env :
9+ CONSOLE_OUTPUT : XTerm
10+
511jobs :
612 test :
13+ name : ${{matrix.ruby}} on ${{matrix.os}}
714 runs-on : ${{matrix.os}}-latest
815 continue-on-error : ${{matrix.experimental}}
916
@@ -14,12 +21,12 @@ jobs:
1421 - macos
1522
1623 ruby :
17- - " 2.6"
18- - " 2.7"
19- - " 3.0"
24+ - " 3.1"
25+ - " 3.2"
26+ - " 3.3"
27+ - " 3.4"
2028
2129 experimental : [false]
22- env : [""]
2330
2431 include :
2532 - os : ubuntu
@@ -33,12 +40,12 @@ jobs:
3340 experimental : true
3441
3542 steps :
36- - uses : actions/checkout@v2
43+ - uses : actions/checkout@v4
3744 - uses : ruby/setup-ruby@v1
3845 with :
3946 ruby-version : ${{matrix.ruby}}
4047 bundler-cache : true
4148
4249 - name : Run tests
43- timeout-minutes : 5
44- run : ${{matrix.env}} bundle exec rspec
50+ timeout-minutes : 10
51+ run : bundle exec bake test
Original file line number Diff line number Diff line change 11/.bundle /
2- /.yardoc
3- /_yardoc /
4- /coverage /
5- /doc /
62/pkg /
7- /spec /reports /
8- /tmp /
3+ /gems.locked
4+ /.covered.db
5+ /external
96
107# rspec failure tracking
118.rspec_status
Original file line number Diff line number Diff line change 1+ AllCops :
2+ DisabledByDefault : true
3+
4+ Layout/IndentationStyle :
5+ Enabled : true
6+ EnforcedStyle : tabs
7+
8+ Layout/InitialIndentation :
9+ Enabled : true
10+
11+ Layout/IndentationWidth :
12+ Enabled : true
13+ Width : 1
14+
15+ Layout/IndentationConsistency :
16+ Enabled : true
17+ EnforcedStyle : normal
18+
19+ Layout/BlockAlignment :
20+ Enabled : true
21+
22+ Layout/EndAlignment :
23+ Enabled : true
24+ EnforcedStyleAlignWith : start_of_line
25+
26+ Layout/BeginEndAlignment :
27+ Enabled : true
28+ EnforcedStyleAlignWith : start_of_line
29+
30+ Layout/ElseAlignment :
31+ Enabled : true
32+
33+ Layout/DefEndAlignment :
34+ Enabled : true
35+
36+ Layout/CaseIndentation :
37+ Enabled : true
38+
39+ Layout/CommentIndentation :
40+ Enabled : true
41+
42+ Layout/EmptyLinesAroundClassBody :
43+ Enabled : true
44+
45+ Layout/EmptyLinesAroundModuleBody :
46+ Enabled : true
47+
48+ Style/FrozenStringLiteralComment :
49+ Enabled : true
50+
51+ Style/StringLiterals :
52+ Enabled : true
53+ EnforcedStyle : double_quotes
You can’t perform that action at this time.
0 commit comments