File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,30 +3,34 @@ name: Checks
33on :
44 push :
55 branches :
6- - " ** "
6+ - main
77 pull_request :
8- types :
9- - opened
10- - synchronize # when a PR is updated
11- - reopened # when a PR is reopened
12- - ready_for_review # when a PR is ready for review
13- - review_requested # when a PR is requested for review
8+
9+ permissions :
10+ contents : read
11+
12+ concurrency :
13+ group : checks-${{ github.workflow }}-${{ github.ref }}
14+ cancel-in-progress : true
1415
1516jobs :
16- ci :
17+ checks :
18+ name : Ruby 4.0
1719 runs-on : ubuntu-latest
20+ timeout-minutes : 10
1821
1922 steps :
20- - name : Check out
21- uses : actions/checkout@v4
23+ - name : Check out repository
24+ uses : actions/checkout@v7
2225
2326 - name : Set up Ruby
2427 uses : ruby/setup-ruby@v1
2528 with :
29+ ruby-version : " 4.0"
2630 bundler-cache : true
2731
28- - name : Install
29- run : bundle install
32+ - name : Check syntax
33+ run : bundle exec ruby -c app.rb
3034
31- - name : Run the application
35+ - name : Run application
3236 run : bundle exec ruby app.rb
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ ruby '>= 3.0.0'
44
55# Add your gems here
66gem 'rake' , '~> 13.0'
7- gem 'featurevisor' , '~> 1 .0'
7+ gem 'featurevisor' , '~> 2 .0'
88
99group :development do
1010 gem 'rubocop' , '~> 1.50'
Original file line number Diff line number Diff line change 33 specs:
44 ast (2.4.3 )
55 benchmark (0.5.0 )
6- featurevisor (1 .0.0 )
7- benchmark
8- json (2.13.2 )
9- language_server-protocol (3.17.0.5 )
6+ featurevisor (2 .0.0 )
7+ benchmark ( >= 0 , < 1 )
8+ json (2.21.1 )
9+ language_server-protocol (3.17.0.6 )
1010 lint_roller (1.1.0 )
11- parallel (1.27 .0 )
12- parser (3.3.9 .0 )
11+ parallel (2.1 .0 )
12+ parser (3.3.12 .0 )
1313 ast (~> 2.4.1 )
1414 racc
15- prism (1.4 .0 )
15+ prism (1.9 .0 )
1616 racc (1.8.1 )
1717 rainbow (3.1.1 )
1818 rake (13.3.0 )
19- regexp_parser (2.11.2 )
20- rubocop (1.80.0 )
19+ regexp_parser (2.12.0 )
20+ rubocop (1.88.2 )
2121 json (~> 2.3 )
2222 language_server-protocol (~> 3.17.0.2 )
2323 lint_roller (~> 1.1.0 )
24- parallel (~> 1.10 )
24+ parallel (>= 1.10 )
2525 parser (>= 3.3.0.2 )
2626 rainbow (>= 2.2.2 , < 4.0 )
2727 regexp_parser (>= 2.9.3 , < 3.0 )
28- rubocop-ast (>= 1.46 .0 , < 2.0 )
28+ rubocop-ast (>= 1.49 .0 , < 2.0 )
2929 ruby-progressbar (~> 1.7 )
3030 unicode-display_width (>= 2.4.0 , < 4.0 )
31- rubocop-ast (1.46 .0 )
31+ rubocop-ast (1.50 .0 )
3232 parser (>= 3.3.7.2 )
33- prism (~> 1.4 )
33+ prism (~> 1.7 )
3434 ruby-progressbar (1.13.0 )
35- unicode-display_width (3.1.5 )
36- unicode-emoji (~> 4.0 , >= 4.0.4 )
37- unicode-emoji (4.0.4 )
35+ unicode-display_width (3.2.0 )
36+ unicode-emoji (~> 4.1 )
37+ unicode-emoji (4.2.0 )
3838
3939PLATFORMS
4040 arm64-darwin-24
4141 ruby
4242
4343DEPENDENCIES
44- featurevisor (~> 1 .0 )
44+ featurevisor (~> 2 .0 )
4545 rake (~> 13.0 )
4646 rubocop (~> 1.50 )
4747
You can’t perform that action at this time.
0 commit comments