File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : RuboCop
2+
3+ on :
4+ push :
5+ pull_request :
6+ schedule :
7+ - cron : " 0 0 * * *"
8+
9+ jobs :
10+ build :
11+
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - uses : actions/checkout@v1
16+ - name : Set up Ruby 2.6
17+ uses : actions/setup-ruby@v1
18+ with :
19+ ruby-version : 2.6.x
20+ - name : Install required package
21+ run : |
22+ sudo apt-get install alien
23+ - name : Download Oracle instant client
24+ run : |
25+ wget -q https://download.oracle.com/otn_software/linux/instantclient/193000/oracle-instantcli
26+ ent19.3-basic-19.3.0.0.0-1.x86_64.rpm
27+ wget -q https://download.oracle.com/otn_software/linux/instantclient/193000/oracle-instantcli
28+ ent19.3-sqlplus-19.3.0.0.0-1.x86_64.rpm
29+ wget -q https://download.oracle.com/otn_software/linux/instantclient/193000/oracle-instantcli
30+ ent19.3-devel-19.3.0.0.0-1.x86_64.rpm
31+ - name : Install Oracle instant client
32+ run : |
33+ sudo alien -i oracle-instantclient19.3-basic-19.3.0.0.0-1.x86_64.rpm
34+ sudo alien -i oracle-instantclient19.3-sqlplus-19.3.0.0.0-1.x86_64.rpm
35+ sudo alien -i oracle-instantclient19.3-devel-19.3.0.0.0-1.x86_64.rpm
36+
37+ - name : Build and run RuboCop
38+ run : |
39+ bundle install --jobs 4 --retry 3
40+ bundle exec rubocop --parallel
You can’t perform that action at this time.
0 commit comments