From 9b7e1c5dfdadfa29fe67d6f0d030d50c424b8765 Mon Sep 17 00:00:00 2001 From: Yasuo Honda Date: Wed, 20 Sep 2023 11:49:00 +0900 Subject: [PATCH] Use Oracle Instant Client Version 21.11.0.0.0 https://www.oracle.com/database/technologies/instant-client/linux-x86-64-downloads.html --- .github/workflows/rubocop.yml | 13 ++++++------- .github/workflows/test.yml | 12 ++++++------ 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/.github/workflows/rubocop.yml b/.github/workflows/rubocop.yml index 41d84076c..79d98a7e5 100644 --- a/.github/workflows/rubocop.yml +++ b/.github/workflows/rubocop.yml @@ -22,15 +22,14 @@ jobs: sudo apt-get install alien - name: Download Oracle instant client run: | - wget -q https://download.oracle.com/otn_software/linux/instantclient/2110000/oracle-instantclient-basic-21.10.0.0.0-1.x86_64.rpm - wget -q https://download.oracle.com/otn_software/linux/instantclient/2110000/oracle-instantclient-sqlplus-21.10.0.0.0-1.x86_64.rpm - wget -q https://download.oracle.com/otn_software/linux/instantclient/2110000/oracle-instantclient-devel-21.10.0.0.0-1.x86_64.rpm + wget -q https://download.oracle.com/otn_software/linux/instantclient/2111000/oracle-instantclient-basic-21.11.0.0.0-1.x86_64.rpm + wget -q https://download.oracle.com/otn_software/linux/instantclient/2111000/oracle-instantclient-sqlplus-21.11.0.0.0-1.x86_64.rpm + wget -q https://download.oracle.com/otn_software/linux/instantclient/2111000/oracle-instantclient-devel-21.11.0.0.0-1.x86_64.rpm - name: Install Oracle instant client run: | - sudo alien -i oracle-instantclient-basic-21.10.0.0.0-1.x86_64.rpm - sudo alien -i oracle-instantclient-sqlplus-21.10.0.0.0-1.x86_64.rpm - sudo alien -i oracle-instantclient-devel-21.10.0.0.0-1.x86_64.rpm - + sudo alien -i oracle-instantclient-basic-21.11.0.0.0-1.x86_64.rpm + sudo alien -i oracle-instantclient-sqlplus-21.11.0.0.0-1.x86_64.rpm + sudo alien -i oracle-instantclient-devel-21.11.0.0.0-1.x86_64.rpm - name: Build and run RuboCop run: | bundle install --jobs 4 --retry 3 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c2eb7a5d1..c33ece51b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -59,14 +59,14 @@ jobs: sudo apt-get install alien - name: Download Oracle instant client run: | - wget -q https://download.oracle.com/otn_software/linux/instantclient/2110000/oracle-instantclient-basic-21.10.0.0.0-1.x86_64.rpm - wget -q https://download.oracle.com/otn_software/linux/instantclient/2110000/oracle-instantclient-sqlplus-21.10.0.0.0-1.x86_64.rpm - wget -q https://download.oracle.com/otn_software/linux/instantclient/2110000/oracle-instantclient-devel-21.10.0.0.0-1.x86_64.rpm + wget -q https://download.oracle.com/otn_software/linux/instantclient/2111000/oracle-instantclient-basic-21.11.0.0.0-1.x86_64.rpm + wget -q https://download.oracle.com/otn_software/linux/instantclient/2111000/oracle-instantclient-sqlplus-21.11.0.0.0-1.x86_64.rpm + wget -q https://download.oracle.com/otn_software/linux/instantclient/2111000/oracle-instantclient-devel-21.11.0.0.0-1.x86_64.rpm - name: Install Oracle instant client run: | - sudo alien -i oracle-instantclient-basic-21.10.0.0.0-1.x86_64.rpm - sudo alien -i oracle-instantclient-sqlplus-21.10.0.0.0-1.x86_64.rpm - sudo alien -i oracle-instantclient-devel-21.10.0.0.0-1.x86_64.rpm + sudo alien -i oracle-instantclient-basic-21.11.0.0.0-1.x86_64.rpm + sudo alien -i oracle-instantclient-sqlplus-21.11.0.0.0-1.x86_64.rpm + sudo alien -i oracle-instantclient-devel-21.11.0.0.0-1.x86_64.rpm - name: Install JDBC Driver run: | wget -q https://download.oracle.com/otn-pub/otn_software/jdbc/211/ojdbc11.jar -O ./lib/ojdbc11.jar