@@ -2,54 +2,53 @@ name: CI
22
33on :
44 push :
5- branches : [ main ]
5+ branches : [main]
66 pull_request :
7- branches : [ main ]
7+ branches : [main]
88
99jobs :
1010 test :
1111 runs-on : ubuntu-latest
1212 strategy :
1313 matrix :
14- ruby-version : ['3.0', '3.1', '3.2', '3.3' ]
15-
14+ ruby-version : ["3.3" ]
15+
1616 steps :
17- - uses : actions/checkout@v4
18-
19- - name : Set up Ruby
20- uses : ruby/setup-ruby@v1
21- with :
22- ruby-version : ${{ matrix.ruby-version }}
23- bundler-cache : true
24-
25- - name : Run tests
26- run : bundle exec rspec
27-
28- - name : Run RuboCop
29- run : bundle exec rubocop
30-
31- - name : Run Sorbet type checker
32- run : bundle exec srb tc
17+ - uses : actions/checkout@v4
18+
19+ - name : Set up Ruby
20+ uses : ruby/setup-ruby@v1
21+ with :
22+ ruby-version : ${{ matrix.ruby-version }}
23+ bundler-cache : true
24+
25+ - name : Run tests
26+ run : bundle exec rspec
27+
28+ - name : Run RuboCop
29+ run : bundle exec rubocop
30+
31+ - name : Run Sorbet type checker
32+ run : bundle exec srb tc
3333
3434 coverage :
3535 runs-on : ubuntu-latest
3636 steps :
37- - uses : actions/checkout@v4
38-
39- - name : Set up Ruby
40- uses : ruby/setup-ruby@v1
41- with :
42- ruby-version : ' 3.3'
43- bundler-cache : true
44-
45- - name : Run tests with coverage
46- run : bundle exec rspec
47- env :
48- COVERAGE : true
49-
50- - name : Upload coverage to Codecov
51- uses : codecov/codecov-action@v3
52- with :
53- files : ./coverage/coverage.xml
54- fail_ci_if_error : false
37+ - uses : actions/checkout@v4
38+
39+ - name : Set up Ruby
40+ uses : ruby/setup-ruby@v1
41+ with :
42+ ruby-version : " 3.3"
43+ bundler-cache : true
44+
45+ - name : Run tests with coverage
46+ run : bundle exec rspec
47+ env :
48+ COVERAGE : true
5549
50+ - name : Upload coverage to Codecov
51+ uses : codecov/codecov-action@v3
52+ with :
53+ files : ./coverage/coverage.xml
54+ fail_ci_if_error : false
0 commit comments