Support for IPv6 Host #30
Workflow file for this run
This file contains 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: | |
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 |