File tree Expand file tree Collapse file tree 4 files changed +27
-5
lines changed Expand file tree Collapse file tree 4 files changed +27
-5
lines changed Original file line number Diff line number Diff line change 10
10
SPEC_OPTS : ' --backtrace'
11
11
12
12
jobs :
13
+ name : Lint
14
+ runs-on : ubuntu-latest
15
+
16
+ steps :
17
+ - name : Checkout code
18
+ uses : actions/checkout@v2
19
+
20
+ - name : Set up Ruby
21
+ uses : ruby/setup-ruby@v1
22
+ with :
23
+ ruby-version : ' 2.7'
24
+ bundler-cache : true
25
+
26
+ - name : Run Standard Ruby linter
27
+ run : bin/standardrb --no-fix --fail-fast
28
+ continue-on-error : true
29
+
13
30
test :
14
31
name : Functional Testing
15
32
runs-on : ubuntu-20.04 # In order to install libvips 8.9+ version
Original file line number Diff line number Diff line change
1
+ fix : false # default: false
2
+ parallel : true # default: false
3
+ format : progress # default: Standard::Formatter
4
+ ruby_version : 2.5 # default: RUBY_VERSION
5
+ default_ignores : false # default: true
6
+
7
+ ignore : # default: []
8
+ - ' vendor/**/*'
Original file line number Diff line number Diff line change 5
5
6
6
gem 'github-markup'
7
7
gem 'redcarpet' , platforms : :ruby
8
+ gem 'standard' , platforms : :ruby
Original file line number Diff line number Diff line change 9
9
10
10
- Lint.
11
11
12
- bundle exec rake rubocop
12
+ bundle exec standardrb
13
13
14
14
- Reinstall local copy of gem after a change.
15
15
31
31
require 'vips'; Vips::Yard.generate
32
32
^D
33
33
34
- - Regenerate `.rubocop_todo.yml`.
35
-
36
- bundle exec rubocop --auto-gen-config
37
-
38
34
- Regenerate docs.
39
35
40
36
bundle exec rake yard
You can’t perform that action at this time.
0 commit comments