name: CI on: push: branches: [ '**' ] pull_request: branches: [ main ] jobs: ci: runs-on: ubuntu-latest strategy: matrix: ruby-version: ['3.1', '3.0', '2.7', 2.6] steps: - uses: actions/checkout@v3 - name: Set up Ruby ${{ matrix.ruby-version }} uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} - name: Install dependencies run: bundle install - name: Run tests run: bundle exec rake ci env: REGION: uscentral SUBSCRIPTION_KEY: k3ah8ztrc4ojeh98r05zh7v6x9w62lqp - name: Coveralls uses: coverallsapp/github-action@master with: github-token: ${{ secrets.GITHUB_TOKEN }} path-to-lcov: "./coverage/lcov.info" - name: Rubocop run: rubocop