Rails Main #2
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 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Remove Gemfile.lock for variable Ruby/Rails versions | |
| run: rm -f Gemfile.lock | |
| - 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 |