File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,29 +10,14 @@ jobs:
1010 build :
1111
1212 runs-on : ubuntu-latest
13- env :
14- ORACLE_HOME : /opt/oracle/instantclient_23_26
15- LD_LIBRARY_PATH : /opt/oracle/instantclient_23_26
1613
1714 steps :
1815 - uses : actions/checkout@v6
1916 - name : Set up Ruby 4.0
2017 uses : ruby/setup-ruby@v1
2118 with :
2219 ruby-version : " 4.0"
23- - name : Create symbolic link for libaio library compatibility
24- run : |
25- sudo ln -s /usr/lib/x86_64-linux-gnu/libaio.so.1t64 /usr/lib/x86_64-linux-gnu/libaio.so.1
26- - name : Download Oracle instant client
27- run : |
28- wget -q https://download.oracle.com/otn_software/linux/instantclient/2326100/instantclient-basic-linux.x64-23.26.1.0.0.zip
29- wget -q https://download.oracle.com/otn_software/linux/instantclient/2326100/instantclient-sdk-linux.x64-23.26.1.0.0.zip
30- - name : Install Oracle instant client
31- run : |
32- sudo unzip -q instantclient-basic-linux.x64-23.26.1.0.0.zip -d /opt/oracle/
33- sudo unzip -qo instantclient-sdk-linux.x64-23.26.1.0.0.zip -d /opt/oracle/
34-
3520 - name : Build and run RuboCop
3621 run : |
37- bundle install --jobs 4 --retry 3
38- bundle exec rubocop --parallel
22+ BUNDLE_ONLY=rubocop bundle install --jobs 4 --retry 3
23+ BUNDLE_ONLY=rubocop bundle exec rubocop --parallel
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ source "http://rubygems.org"
33group :development do
44 gem "juwelier" , "~> 2.0"
55 gem "rspec_junit_formatter"
6+ end
7+
8+ group :rubocop do
69 gem "rubocop" , require : false
710 gem "rubocop-performance" , require : false
811 gem "rubocop-rails" , require : false
You can’t perform that action at this time.
0 commit comments