Phase 2: Auto-enable identity primary keys in Migration[8.2]+ (depends on Rails per-adapter-migration-compatibility) [DRAFT] #942
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: check_method_visibility | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| schedule: | |
| - cron: "0 0 * * 1" # Mondays at 00:00 UTC | |
| workflow_dispatch: | |
| jobs: | |
| check: | |
| name: "Compare Ruby visibility against Rails" | |
| runs-on: ubuntu-latest | |
| env: | |
| NLS_LANG: American_America.AL32UTF8 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: '3.4' | |
| rubygems: latest | |
| - name: Create symbolic link for libaio library compatibility | |
| run: | | |
| sudo ln -s /usr/lib/x86_64-linux-gnu/libaio.so.1t64 /usr/lib/x86_64-linux-gnu/libaio.so.1 | |
| - name: Download Oracle instant client | |
| run: | | |
| wget -q https://download.oracle.com/otn_software/linux/instantclient/instantclient-basic-linuxx64.zip | |
| wget -q https://download.oracle.com/otn_software/linux/instantclient/instantclient-sdk-linuxx64.zip | |
| - name: Install Oracle instant client | |
| run: | | |
| sudo unzip -q instantclient-basic-linuxx64.zip -d /opt/oracle/ | |
| sudo unzip -qo instantclient-sdk-linuxx64.zip -d /opt/oracle/ | |
| ORACLE_HOME=$(find /opt/oracle -name "instantclient_*" -type d | head -1) | |
| echo "ORACLE_HOME=$ORACLE_HOME" >> $GITHUB_ENV | |
| echo "LD_LIBRARY_PATH=$ORACLE_HOME" >> $GITHUB_ENV | |
| echo "$ORACLE_HOME" >> $GITHUB_PATH | |
| - name: Bundle install | |
| run: | | |
| bundle install --jobs 4 --retry 3 | |
| - name: Check method visibility against Rails | |
| run: | | |
| bundle exec ruby -Ilib ci/check_method_visibility.rb |