update README #791
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: | |
| jobs: | |
| linting: | |
| runs-on: ubuntu-latest | |
| name: RuboCop | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.3 | |
| - name: Bundle install | |
| run: bundle install | |
| - name: Run RuboCop | |
| run: bundle exec rubocop --color | |
| todo: | |
| runs-on: ubuntu-latest | |
| name: ToDo | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.3 | |
| - name: Install grepfruit | |
| run: gem install grepfruit | |
| - name: Run grepfruit | |
| run: grepfruit s -r TODO -e 'vendor,tmp,.yardoc,.git,ci.yml:40' --search-hidden | |
| tests: | |
| runs-on: ubuntu-latest | |
| name: Ruby ${{ matrix.ruby }} - Rails ${{ matrix.rails }} | |
| permissions: | |
| contents: read | |
| strategy: | |
| matrix: | |
| ruby: | |
| - "3.3" | |
| - "3.4" | |
| - "4.0" | |
| rails: | |
| - "~> 7.2.0" | |
| - "~> 8.0.0" | |
| - "~> 8.1.0" | |
| env: | |
| RAILS_VERSION: "${{ matrix.rails }}" | |
| BUNDLE_PATH: "vendor/bundle" | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| - name: Bundle install | |
| run: bundle install | |
| - name: Run RSpec | |
| run: bundle exec rspec | |
| uuid_tests: | |
| runs-on: ubuntu-latest | |
| name: UUID Tests | |
| permissions: | |
| contents: read | |
| env: | |
| UUID_TESTS: "true" | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.3 | |
| - name: Bundle install | |
| run: bundle install | |
| - name: Run RSpec | |
| run: bundle exec rspec |