File tree 3 files changed +28
-24
lines changed
3 files changed +28
-24
lines changed Original file line number Diff line number Diff line change
1
+ name : Lint
2
+
3
+ on : [push, pull_request]
4
+
5
+ permissions : # added using https://github.com/step-security/secure-workflows
6
+ contents : read
7
+
8
+ jobs :
9
+ lint :
10
+ strategy :
11
+ fail-fast : false
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v4 # v3.3.0
15
+ # libyaml-dev is needed for psych, see https://github.com/ruby/setup-ruby/issues/409
16
+ - if : ${{ matrix.os == 'ubuntu-latest' }}
17
+ run : sudo apt install libyaml-dev
18
+ - name : Set up Ruby
19
+ uses : ruby/setup-ruby@master
20
+ with :
21
+ ruby-version : 3.3
22
+ bundler-cache : true
23
+ - name : Run rubocop
24
+ run : bundle exec rubocop
25
+ - name : Sanity check for the format_generated_files task
26
+ run : bundle exec rake generate format_generated_files
27
+
Original file line number Diff line number Diff line change 11
11
with :
12
12
# 2.7 breaks `test_parse_statements_nodoc_identifier_alias_method`
13
13
min_version : 3.0
14
+ engine : cruby-truffleruby
14
15
15
16
test :
16
17
needs : ruby-versions
24
25
ruby : truffleruby
25
26
- os : windows-latest
26
27
ruby : truffleruby-head
27
- - os : windows-latest
28
- ruby : jruby
29
- - os : windows-latest
30
- ruby : jruby-head
31
28
runs-on : ${{ matrix.os }}
32
29
steps :
33
30
- uses : actions/checkout@v4 # v3.3.0
39
36
with :
40
37
ruby-version : ${{ matrix.ruby }}
41
38
bundler-cache : true # 'bundle install' and cache
42
- # Avoid issues on these platforms
43
- - if : ${{ matrix.ruby == '2.6' }}
44
- run : gem update --system
45
39
- name : Run test
46
40
run : bundle exec rake
47
41
env :
55
49
run : bundle exec rake rdoc
56
50
- if : ${{ matrix.ruby == 'head' && startsWith(matrix.os, 'ubuntu') }}
57
51
run : bundle exec rake install
58
- lint :
59
- runs-on : ubuntu-latest
60
- steps :
61
- - uses : actions/checkout@v4
62
- - name : Set up Ruby
63
- uses : ruby/setup-ruby@v1
64
- with :
65
- ruby-version : " 3.3"
66
- bundler-cache : true
67
- - name : Run rubocop
68
- run : bundle exec rubocop
69
- # Just to make sure the format_generated_files task is working
70
- - name : Sanity check for the format_generated_files task
71
- run : bundle exec rake generate format_generated_files
Original file line number Diff line number Diff line change @@ -12,6 +12,3 @@ group :development do
12
12
gem 'gettext'
13
13
gem 'prism' , '>= 0.30.0'
14
14
end
15
-
16
- # Workaround for https://github.com/mkristian/jar-dependencies/issues/86
17
- gem "jar-dependencies" , "~> 0.4.0" , platform : :jruby
You can’t perform that action at this time.
0 commit comments