Skip to content

bumped ruby version to 3 and faraday version to 2 #22

bumped ruby version to 3 and faraday version to 2

bumped ruby version to 3 and faraday version to 2 #22

Workflow file for this run

name: Unit Tests
on:
pull_request:
permissions:
contents: read
jobs:
run:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['3.2', '3.1', '3.0', '2.7', '2.6']
steps:
- uses: actions/checkout@v3
- name: Install apt dependencies
run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev # needed by faraday-patron gem
- 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
env:
IPINFO_TOKEN: ${{ secrets.IPINFO_TOKEN }}
run: bundle exec rake