name: Unit Tests on: pull_request: permissions: contents: read jobs: run: 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@359bebbc29cbe6c87da6bc9ea3bc930432750108 with: ruby-version: ${{ matrix.ruby-version }} - name: Install dependencies run: bundle install - name: Run tests env: IPINFO_TOKEN: ${{ secrets.IPINFO_TOKEN }} run: bundle exec rake