feat(flags): Add ETag support for feature flag definitions polling #240
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: Unit Tests | |
| on: | |
| - pull_request | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| ruby-version: [3.2, 3.3, 3.4] | |
| fail-fast: false | |
| env: | |
| RAILS_ENV: test | |
| GH_ACTIONS_UNIT_TESTS: 1 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Ruby ${{ matrix.ruby-version }} | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby-version }} | |
| # runs 'bundle install' and caches installed gems automatically | |
| bundler-cache: true | |
| - name: Run RSpec tests | |
| run: | | |
| bundle exec rspec | |
| - name: Run Rubocop | |
| run: | | |
| bundle exec rubocop |