π Zoho connection authorization token refresh (#17) #129
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: CI | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '2.5' | |
bundler-cache: true | |
- name: rubocop version | |
timeout-minutes: 1 | |
run: bundle exec rubocop --version | |
- name: rubocop | |
timeout-minutes: 5 | |
run: bundle exec rubocop -c .rubocop.yml | |
test: | |
runs-on: ubuntu-latest | |
continue-on-error: ${{ matrix.experimental }} | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: ['2.5', '2.6', '2.7', '3.0', '3.1', '3.2'] | |
experimental: [false] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{matrix.ruby}} | |
bundler-cache: true | |
- name: Run tests | |
timeout-minutes: 5 | |
run: ${{matrix.env}} bundle exec rspec |