docs(README, mod.ts): update code example #93
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: deno | |
on: [push, pull_request] | |
jobs: | |
style: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repo | |
uses: actions/checkout@v2 | |
- name: setup latest deno version | |
uses: denoland/setup-deno@main | |
with: | |
deno-version: v1.x | |
- name: run deno fmt | |
run: deno fmt --check | |
- name: run deno lint | |
run: deno lint --unstable | |
tests: | |
name: ${{ matrix.kind }} ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 5 | |
strategy: | |
matrix: | |
os: [macOS-latest, windows-latest, ubuntu-latest] | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Setup latest deno version | |
uses: denoland/setup-deno@main | |
with: | |
deno-version: v1.x | |
- name: run deno test | |
run: deno test -A --unstable |