diff --git a/ci/deno.yml b/ci/deno.yml index 178b61f..cf91f5e 100644 --- a/ci/deno.yml +++ b/ci/deno.yml @@ -3,8 +3,8 @@ # separate terms of service, privacy policy, and support # documentation. -# This workflow will install Deno and run tests across stable and nightly builds on Windows, Ubuntu and macOS. -# For more information see: https://github.com/denolib/setup-deno +# This workflow will install Deno and run tests across stable and canary builds on Windows, Ubuntu and macOS. +# For more information see: https://github.com/denoland/setup-deno name: Deno @@ -20,7 +20,7 @@ jobs: strategy: matrix: - deno: ["v1.x", "nightly"] + deno: ["v1.x", "canary"] os: [macOS-latest, windows-latest, ubuntu-latest] steps: @@ -28,12 +28,20 @@ jobs: uses: actions/checkout@v2 - name: Setup Deno - uses: denolib/setup-deno@c7d7968ad4a59c159a777f79adddad6872ee8d96 + # uses: denoland/setup-deno@v1 + uses: denoland/setup-deno@4a4e59637fa62bd6c086a216c7e4c5b457ea9e79 with: deno-version: ${{ matrix.deno }} # tests across multiple Deno versions - - name: Cache Dependencies + # Uncomment this step to verify the use of 'deno fmt' on each commit. + # - name: Verify formatting + # run: deno fmt --check + + - name: Run linter + run: deno lint + + - name: Cache dependencies run: deno cache deps.ts - - name: Run Tests + - name: Run tests run: deno test -A --unstable