Rails Main #31
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: Rails Main | |
| on: | |
| schedule: | |
| - cron: '0 3 * * *' | |
| workflow_dispatch: | |
| jobs: | |
| rails-main: | |
| name: Rails main integration tests | |
| runs-on: ubuntu-22.04 | |
| env: | |
| RUBY_VERSION: '4.0.1' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Remove Gemfile.lock and .ruby-version for variable Ruby versions | |
| run: rm -f Gemfile.lock .ruby-version | |
| - name: Setup Ruby 4.0.1 | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: '4.0.1' | |
| bundler-cache: true | |
| - name: Run Rails main integration tests | |
| env: | |
| RAILS_VERSION: latest | |
| run: ./scripts/rails_tests.sh |