0.11.0 #67
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: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} # runs a test on Ubuntu, Windows and macOS | |
strategy: | |
matrix: | |
deno: ["v1.x"] | |
os: [macOS-latest, windows-latest, ubuntu-latest] | |
steps: | |
- name: Setup repo | |
uses: actions/checkout@v3 | |
- name: Setup Deno | |
uses: denoland/setup-deno@main | |
with: | |
deno-version: ${{ matrix.deno }} # tests across multiple Deno versions | |
- name: Lint | |
run: deno lint | |
- name: Check code format | |
if: matrix.os != 'windows-latest' | |
run: deno fmt --check | |
- name: Run Tests | |
run: deno test --allow-read --allow-net |