fix: synchronizing loads so they don't occur at the same time #250
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: ci | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
name: test-${{ matrix.os }}-${{ matrix.deno }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
# Test on the latest stable, and nightly | |
deno: [1.x, nightly] | |
os: [macOS-latest, windows-latest, ubuntu-latest] | |
steps: | |
- name: Setup repo | |
uses: actions/checkout@v2 | |
- name: Setup Deno | |
uses: denoland/setup-deno@main | |
with: | |
# TODO: revert back to ${{ matrix.deno }} once https://github.com/denoland/deno/issues/22926 is fixed | |
# deno-version: ${{ matrix.deno }} | |
deno-version: v1.40.3 | |
- run: deno --version | |
- name: Format | |
if: runner.os == 'Linux' | |
run: deno fmt --check | |
- name: Lint | |
if: runner.os == 'Linux' | |
run: deno lint | |
- name: Run tests | |
run: deno test -A |