add exponential backoff option to reconnect plugin (#15) #517
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: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
name: tests (${{ matrix.os }}) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
fail-fast: true | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Download Deno | |
uses: denolib/setup-deno@v2 | |
with: | |
deno-version: v1.x | |
- name: Lint sources | |
if: matrix.os == 'ubuntu-latest' | |
run: make lint | |
- name: Check format | |
if: matrix.os == 'ubuntu-latest' | |
run: make fmt-check | |
- name: Run tests | |
run: make test-coverage |