use form_tag + submit_tag for SSO login button #7
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: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Ruby ${{ matrix.ruby }} / Rails ${{ matrix.rails }} / AA ${{ matrix.activeadmin }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ruby: ['3.2', '3.3', '3.4'] | |
| rails: ['7.2.0', '8.0.0'] | |
| activeadmin: ['3.5.0'] | |
| # AA 3.4.0 is excluded: it pins devise < 5, which is | |
| # incompatible with the devise >= 4.9 floor this gem needs. | |
| # Support starts at ActiveAdmin 3.5, which lifted that cap. | |
| env: | |
| RAILS: ${{ matrix.rails }} | |
| AA: ${{ matrix.activeadmin }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| bundler-cache: true | |
| - name: Run tests | |
| run: bundle exec rspec spec |