execute account selection even without owner #459
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: CI | |
| on: [push, pull_request] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| name: >- | |
| Ruby ${{ matrix.ruby }} (${{ matrix.gemfile }}) | |
| env: | |
| CI: true | |
| BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }} | |
| runs-on: ${{ matrix.os }} | |
| if: | | |
| !( contains(github.event.pull_request.title, '[ci skip]') | |
| || contains(github.event.pull_request.title, '[skip ci]')) | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| os: [ubuntu-latest] | |
| ruby: | |
| - "3.1" | |
| - "3.2" | |
| - "3.3" | |
| - "3.4" | |
| - "4.0" | |
| - head | |
| gemfile: | |
| - gemfiles/rails_7.0.gemfile | |
| - gemfiles/rails_7.1.gemfile | |
| - gemfiles/rails_7.2.gemfile | |
| - gemfiles/rails_8.0.gemfile | |
| - gemfiles/doorkeeper_master.gemfile | |
| exclude: | |
| - ruby: 3.1 | |
| gemfile: gemfiles/rails_8.0.gemfile | |
| - ruby: 3.1 | |
| gemfile: gemfiles/doorkeeper_master.gemfile | |
| - ruby: head | |
| gemfile: gemfiles/rails_7.0.gemfile | |
| steps: | |
| - name: Repo checkout | |
| uses: actions/checkout@v3 | |
| - name: Setup Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| bundler-cache: true | |
| - name: Run tests | |
| timeout-minutes: 10 | |
| run: bundle exec rake spec | |
| lint: | |
| name: RuboCop | |
| runs-on: ubuntu-latest | |
| env: | |
| BUNDLE_PATH: /home/runner/bundle | |
| if: | | |
| !( contains(github.event.pull_request.title, '[ci skip]') | |
| || contains(github.event.pull_request.title, '[skip ci]')) | |
| steps: | |
| - name: Repo checkout | |
| uses: actions/checkout@v3 | |
| - name: Setup Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: "3.4" | |
| - name: Install dependencies | |
| run: bundle install | |
| - name: Run RuboCop | |
| run: bundle exec rubocop |